Class CRC

java.lang.Object
marauroa.common.CRC

public class CRC extends Object
an implementation of the CRC checksum algorithm.
  • Constructor Details

    • CRC

      public CRC()
  • Method Details

    • cmpCRC

      public static short cmpCRC(byte[] b)
      Calc CRC with cmp method.
      Parameters:
      b - byte array to compute CRC on
      Returns:
      16-bit CRC, signed