Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common > API/Runtime/uLangCore/uLang/Common/Misc
References
| Module | uLangCore |
| Header | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Misc/CRC.h |
| Include | #include "uLang/Common/Misc/CRC.h" |
Syntax
class CCRC16
Remarks
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
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 |
Constants
| Name | Description |
|---|---|
| _Table |