#pragma once #include "common/types.h" uint16 CRC16(const unsigned char *buf, int size, int key);