@Test public void test1() { CrcCciitCalculator c = new CrcCciitCalculator(YConfiguration.emptyConfig()); byte[] data = new byte[] {0x6, 0x0, 0x0c, (byte)0xf0, 0x00, 0x04, 0x00, 0x55, (byte)0x88, 0x73, (byte)0xc9, 0x00, 0x00, 0x05, 0x21}; int x = c.compute(data, 0, data.length); assertEquals(0x75FB, x); }
@Override public int compute(byte[] data, int offset, int length) { return cc.compute(data, offset, length, initialValue); }
CrcCciitCalculator implements ErrorDetectionWordCalculator { @Override public int compute(byte[] data, int offset, int length) { return cc.compute(data, offset, length, initialValue); } }
CrcCciitCalculator implements ErrorDetectionWordCalculator { @Override public int compute(byte[] data, int offset, int length) { return cc.compute(data, offset, length, initialValue); } CrcCciitCalculator();  CrcCciitCalculator(YConfiguration c); }
CrcCciitCalculator implements ErrorDetectionWordCalculator { @Override public int compute(byte[] data, int offset, int length) { return cc.compute(data, offset, length, initialValue); } CrcCciitCalculator();  CrcCciitCalculator(YConfiguration c); @Override int compute(byte[] data, int offset, int length); @Override int sizeInBits(); }
CrcCciitCalculator implements ErrorDetectionWordCalculator { @Override public int compute(byte[] data, int offset, int length) { return cc.compute(data, offset, length, initialValue); } CrcCciitCalculator();  CrcCciitCalculator(YConfiguration c); @Override int compute(byte[] data, int offset, int length); @Override int sizeInBits();  }