Class CRC32

java.lang.Object
org.eclipse.rdf4j.rio.hdt.CRC32
All Implemented Interfaces:
Checksum

class CRC32 extends Object implements Checksum
CRC32C checksum

Note that CRC32C is not available in JDK8, but there is a CRC32 in JDK9.

  • Field Details

    • TABLE

      private static final int[] TABLE
    • value

      private long value
  • Constructor Details

    • CRC32

      CRC32()
  • Method Details

    • update

      public void update(int b)
      Specified by:
      update in interface Checksum
    • update

      public void update(byte[] b, int off, int len)
      Specified by:
      update in interface Checksum
    • getValue

      public long getValue()
      Specified by:
      getValue in interface Checksum
    • reset

      public void reset()
      Specified by:
      reset in interface Checksum