utility namespace
this namespace contains various helper utilities to aid you.
namespaces
classes
functions
variables
Function documentation
template<size_t length>
static uint32_t utility:: crc32(char const (&str)[length]) constexpr
Brief
compile-time crc32 checksum calculator for the input characters.
| Template parameters | |
|---|---|
| length | the length of the character array. |
| Parameters | |
| str in | the characters to calculate the crc32 for. |
| Returns | 32 bit unsigned integer containing the crc32 value. |
template<size_t length>
static uint32_t utility:: crc32(char const* str) constexpr
Brief
crc32 checksum calculator for the input characters.
| Template parameters | |
|---|---|
| length | the length of the character array. |
| Parameters | |
| str in | the characters to calculate the crc32 for. |
| Returns | 32 bit unsigned integer containing the crc32 value. |
template<size_t length>
static uint64_t utility:: crc64(char const (&str)[length]) constexpr
Brief
compile-time crc64 checksum calculator for the input characters.
| Template parameters | |
|---|---|
| length | the length of the character array. |
| Parameters | |
| str in | the characters to calculate the crc64 for. |
| Returns | 64 bit unsigned integer containing the crc64 value. |
template<size_t length>
static uint64_t utility:: crc64(char const* str) constexpr
Brief
crc64 checksum calculator for the input characters.
| Template parameters | |
|---|---|
| length | the length of the character array. |
| Parameters | |
| str in | the characters to calculate the crc64 for. |
| Returns | 64 bit unsigned integer containing the crc64 value. |
static uint64_t utility:: crc64(psl:: string8:: view str) constexpr
Brief
crc64 checksum calculator for the input characters.
| Parameters | |
|---|---|
| str in | the characters to calculate the crc64 for. |
| Returns | 64 bit unsigned integer containing the crc64 value. |
static uint32_t utility:: crc32(psl:: string8:: view str) constexpr
Brief
crc32 checksum calculator for the input characters.
| Parameters | |
|---|---|
| str in | the characters to calculate the crc32 for. |
| Returns | 32 bit unsigned integer containing the crc32 value. |