Package hec.util
Class CRC32Util
java.lang.Object
hec.util.CRC32Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeFileCRC32
(String filename) void
computeFileCRC32
(String filename, long byteSize) long
long
byte[]
void
reset()
void
update
(byte[] b) void
update
(byte[] b, int off, int len) void
update
(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()
-