Package org.eclipse.rdf4j.rio.hdt
Class CRC32
- java.lang.Object
-
- org.eclipse.rdf4j.rio.hdt.CRC32
-
- All Implemented Interfaces:
java.util.zip.Checksum
class CRC32 extends java.lang.Object implements java.util.zip.ChecksumCRC32C checksumNote that CRC32C is not available in JDK8, but there is a CRC32 in JDK9.
-
-
Constructor Summary
Constructors Constructor Description CRC32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetValue()voidreset()voidupdate(byte[] b, int off, int len)voidupdate(int b)
-
-
-
Method Detail
-
update
public void update(int b)
- Specified by:
updatein interfacejava.util.zip.Checksum
-
update
public void update(byte[] b, int off, int len)- Specified by:
updatein interfacejava.util.zip.Checksum
-
getValue
public long getValue()
- Specified by:
getValuein interfacejava.util.zip.Checksum
-
reset
public void reset()
- Specified by:
resetin interfacejava.util.zip.Checksum
-
-