Class CRC16

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

class CRC16 extends Object implements Checksum
CRC16-ANSI checksum
  • Field Details

    • TABLE

      private static final short[] TABLE
    • value

      private long value
  • Constructor Details

    • CRC16

      CRC16()
  • 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