Navigation
API > API/Runtime > API/Runtime/uLangCore
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
| Name | CCRC16 |
| Type | class |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Misc/CRC.h |
| Include Path | #include "uLang/Common/Misc/CRC.h" |
Syntax
class CCRC16
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| _Table | const uint16_t * | uLang/Common/Misc/CRC.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ULANG_FORCEINLINE uint16_t Generate
(
const uint8_t* Begin, |
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 | uLang/Common/Misc/CRC.h |