A strongly‐typed integer for holding a CRC32C value.
Synopsis
Declared in <absl/crc/crc32c.h>
class crc32c_t final
Description
Some operators are intentionally omitted. Only equality operators are defined so that crc32c_t can be directly compared. Methods for putting crc32c_t directly into a set are omitted because this is bug‐prone due to checksum collisions. Use an explicit conversion to the uint32_t space for operations that treat crc32c_t as an integer.
Member Functions
Name |
Description |
|
Constructors |
Copy‐assign a CRC32C value. |
|
Convert the CRC32C value to its raw 32‐bit checksum. |
Friends
Name |
Description |
Format a CRC32C value as an eight‐digit hexadecimal string. |
|
Compare two CRC32C values for inequality. |
|
Compare two CRC32C values for equality. |
Non-Member Functions
Name |
Description |
Compute the CRC32C value of the provided string. |
|
Compute the CRC32C value of two concatenated buffers. |
|
Compute a CRC32C value from an existing value and an additional buffer. |
|
Extend a CRC32C value as if trailing zero bytes were appended. |
|
Copy bytes while computing the CRC32C value of the copied data. |
|
Compute the CRC32C value of a buffer with a prefix removed. |
|
Compute the CRC32C value of a buffer with a suffix removed. |
Created with MrDocs