![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CRC.h>
Static Public Member Functions | |
| static ULANG_FORCEINLINE uint16_t | Generate (const uint8_t *Begin, const uint8_t *End, uint16_t PrevCRC=0) |
Helper class for computing a 16 bit CRC We are using the CRC-16-CCITT polynomial (0x1021), but are using a bit reversed algorithm akin to CRC32 and CRC64 algorithms which saves one bit shift
|
inlinestatic |
Generate CRC16 from a string of bytes You can compute the CRC of two concatenated strings by computing the CRC of the first string, then passing the result into the PrevCRC argument when computing the CRC of the second string