|
bytes | crc16 (cls, bytes data) |
|
◆ _crc16_byte()
int tropicsquare.crc.CRC._crc16_byte |
( |
|
cls, |
|
|
int |
data, |
|
|
int |
crc |
|
) |
| |
|
protected |
Process one byte of data into the CRC.
◆ crc16()
bytes tropicsquare.crc.CRC.crc16 |
( |
|
cls, |
|
|
bytes |
data |
|
) |
| |
Compute the CRC16 value for the given byte sequence.
◆ CRC16_FINAL_XOR_VALUE
int tropicsquare.crc.CRC.CRC16_FINAL_XOR_VALUE = 0x0000 |
|
static |
◆ CRC16_INITIAL_VAL
int tropicsquare.crc.CRC.CRC16_INITIAL_VAL = 0x0000 |
|
static |
◆ CRC16_POLYNOMIAL
int tropicsquare.crc.CRC.CRC16_POLYNOMIAL = 0x8005 |
|
static |
The documentation for this class was generated from the following file: