DWG files use many CRC (cyclic redundancy check) checksum algorithms to verify the integrity of the file. This method provides the appropriate methods to calculate and check the checksums.
More...
|
| static uint16 | crc8 (uint16 initial, const uint8 *buffer, size_t length) |
| | Calculate checksum.
|
| |
DWG files use many CRC (cyclic redundancy check) checksum algorithms to verify the integrity of the file. This method provides the appropriate methods to calculate and check the checksums.
◆ crc8()
| static uint16 jm::CRC::crc8 |
( |
uint16 |
initial, |
|
|
const uint8 * |
buffer, |
|
|
size_t |
length |
|
) |
| |
|
static |
Calculate checksum.
- Parameters
-
| initial | Start value for CRC calculation |
| buffer | Pointer to the first byte in the buffer to check. |
| length | Length to check |