Class CRC24

  • Direct Known Subclasses:
    FastCRC24

    public class CRC24
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int crc  
      protected static int CRC24_INIT  
      protected static int CRC24_POLY  
    • Constructor Summary

      Constructors 
      Constructor Description
      CRC24()
      Default, iterative CRC-24 implementation as described in RFC4880.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()  
      void reset()  
      void update​(int b)  
      void update3​(byte[] buf, int off)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • update

        public void update​(int b)
      • update3

        public void update3​(byte[] buf,
                            int off)
      • getValue

        public int getValue()
      • reset

        public void reset()