Package hec.util

Class CRC32Util

java.lang.Object
hec.util.CRC32Util

public class CRC32Util extends Object
  • Constructor Details

    • CRC32Util

      public CRC32Util()
  • Method Details

    • computeFileCRC32

      public void computeFileCRC32(String filename) throws IOException
      Throws:
      IOException
    • computeFileCRC32

      public void computeFileCRC32(String filename, long byteSize) throws IOException
      Throws:
      IOException
    • getLastBytes

      public byte[] getLastBytes()
    • getFileSize

      public long getFileSize()
    • getFileCRC

      public long getFileCRC()
    • update

      public void update(byte[] b, int off, int len)
    • update

      public void update(byte[] b)
    • update

      public void update(int b)
    • reset

      public void reset()