| 
|   | CRC16 () | 
|   | Calculate CRC-16.  More...
  | 
|   | 
| 
uint16_t  | set (string type) | 
|   | 
| 
uint16_t  | set (uint16_t polynomial=0x1021, uint16_t initialcrc=0xffff, uint16_t xorout=0x0, bool lsbfirst=false) | 
|   | 
| 
uint16_t  | calc (vector< uint8_t > message) | 
|   | 
| 
uint16_t  | calc (vector< uint8_t > message, uint16_t size) | 
|   | 
| 
uint16_t  | calc (string message, uint16_t size) | 
|   | 
| 
uint16_t  | calc (string message) | 
|   | 
| 
uint16_t  | calc (uint8_t *message, uint16_t size) | 
|   | 
| 
int32_t  | calc_file (string file_path) | 
|   | 
 | 
| 
uint16_t  | lookup [256] | 
|   | 
| 
std::map< string, crcset >  | types | 
|   | 
◆ CRC16()
Calculate CRC-16. 
Calculate 16-bit CRC for the indicated type, buffer and number of bytes. 
 
 
The documentation for this class was generated from the following files:
- lib/micro-cosmos/math/crclib.h
 
- lib/micro-cosmos/math/crclib.cpp