Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Crc.h |
Include | #include "Misc/Crc.h" |
Syntax
struct FCrc
Remarks
CRC hash generation for different types of input data
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Init () |
Initializes the CRC lookup table. Must be called before any of the CRC functions are used. |
![]() ![]() |
uint32 | MemCrc32
(
const void* Data, |
|
![]() ![]() |
TEnableIf< sizeof(CharType)!=1, uint32 >::Type | StrCrc32
(
const CharType* Data, |
String CRC. |
![]() ![]() |
TEnableIf< sizeof(CharType)==1, uint32 >::Type | StrCrc32
(
const CharType* Data, |
|
![]() ![]() |
uint32 | TypeCrc32
(
const T& Data, |
Generates CRC hash of the element |
Typedefs
Name | Description |
---|---|
MemCrc32Functor | Generates CRC hash of the memory area |
Constants
Name | Description |
---|---|
CRCTable_DEPRECATED | DEPRECATED These tables and functions are deprecated because they're using tables and implementations which give values different from what a user of a typical CRC32 algorithm might expect.lookup table with precalculated CRC values |
CRCTablesSB8 | Lookup table with precalculated CRC values - slicing by 8 implementation |
CRCTablesSB8_DEPRECATED | Lookup table with precalculated CRC values - slicing by 8 implementation |
MemCrc32Func |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32 | MemCrc_DEPRECATED
(
const void* Data, |
Generates CRC hash of the memory area |
![]() ![]() |
uint32 | StrCrc_DEPRECATED
(
const CharType* Data |
String CRC. |
![]() ![]() |
uint32 | StrCrc_DEPRECATED
(
const int32 DataLen, |
String CRC. |
![]() ![]() |
uint32 | Strihash_DEPRECATED
(
const CharType* Data |
Case insensitive string hash function. |
![]() |
uint32 | Strihash_DEPRECATED
(
const ANSICHAR* Data |
|
![]() |
uint32 | Strihash_DEPRECATED
(
const WIDECHAR* Data |
|
![]() |
uint32 | Strihash_DEPRECATED
(
const UTF8CHAR* Data |
|
![]() ![]() |
uint32 | Strihash_DEPRECATED
(
const int32 DataLen, |
Case insensitive string hash function. |
![]() |
uint32 | Strihash_DEPRECATED
(
const int32 DataLen, |
|
![]() |
uint32 | Strihash_DEPRECATED
(
const int32 DataLen, |
|
![]() |
uint32 | Strihash_DEPRECATED
(
const int32 DataLen, |