public class Crc16
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
check(byte[] bytes)
calculates crc16 as specified by DIN EN 62056-46
|
static int |
check(byte[] bytes,
int length)
calculates crc16 from element 0 to length-1 as specified by DIN EN 62056-46
|
public static int check(byte[] bytes,
int length)
bytes - the byteslength - the lengthpublic static int check(byte[] bytes)
bytes - the bytes