public class CRC16 extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
crc16(byte[] bytes)
Create a CRC16 checksum from the bytes.
|
static int |
crc16(byte[] bytes,
int off,
int len)
Create a CRC16 checksum from the bytes.
|
static int |
crc16(ByteBuffer bytes)
Create a CRC16 checksum from the bytes.
|
public static int crc16(byte[] bytes)
bytes - input bytespublic static int crc16(byte[] bytes,
int off,
int len)
bytes - input bytespublic static int crc16(ByteBuffer bytes)
bytes - input bytesCopyright © 2019 lettuce.io. All rights reserved.