#pragma once uint8_t crc8(const void *block, size_t length); uint16_t crc16(const void *block, size_t length);