Package hec.util
Class CRC32Util
java.lang.Object
hec.util.CRC32Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeFileCRC32(String filename) voidcomputeFileCRC32(String filename, long byteSize) longlongbyte[]voidreset()voidupdate(byte[] b) voidupdate(byte[] b, int off, int len) voidupdate(int b)
-
Constructor Details
-
CRC32Util
public CRC32Util()
-
-
Method Details
-
computeFileCRC32
- Throws:
IOException
-
computeFileCRC32
- 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()
-