public class CRCModbus
extends java.lang.Object
Constructor and Description |
---|
CRCModbus() |
Modifier and Type | Method and Description |
---|---|
static void |
assertCorrect(byte[] data,
byte[] crc) |
static byte[] |
calculateToBytes(byte[] data) |
public static byte[] calculateToBytes(byte[] data)
public static void assertCorrect(byte[] data, byte[] crc) throws InvalidCRCException
InvalidCRCException