[#absl-crc32c_t] = xref:absl.adoc[absl]::crc32c_t :relfileprefix: ../ :mrdocs: A strongly‐typed integer for holding a CRC32C value. == Synopsis Declared in `<absl/crc/crc32c.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:absl/crc32c_t/2constructor-09.adoc[`crc32c_t`] [.small]#[constructor]# | Constructors | xref:absl/crc32c_t/operator_assign.adoc[`operator=`] | Copy‐assign a CRC32C value. | xref:absl/crc32c_t/2conversion.adoc[`operator uint32_t`] | Convert the CRC32C value to its raw 32‐bit checksum. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:absl/AbslStringify-068.adoc[absl::AbslStringify]` | Format a CRC32C value as an eight‐digit hexadecimal string. | `xref:absl/operator_not_eq-07d.adoc[absl::operator!=]` | Compare two CRC32C values for inequality. | `xref:absl/operator_eq-0e53.adoc[absl::operator==]` | Compare two CRC32C values for equality. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/ComputeCrc32c.adoc[`ComputeCrc32c`] | Compute the CRC32C value of the provided string. | xref:absl/ConcatCrc32c.adoc[`ConcatCrc32c`] | Compute the CRC32C value of two concatenated buffers. | xref:absl/ExtendCrc32c.adoc[`ExtendCrc32c`] | Compute a CRC32C value from an existing value and an additional buffer. | xref:absl/ExtendCrc32cByZeroes.adoc[`ExtendCrc32cByZeroes`] | Extend a CRC32C value as if trailing zero bytes were appended. | xref:absl/MemcpyCrc32c.adoc[`MemcpyCrc32c`] | Copy bytes while computing the CRC32C value of the copied data. | xref:absl/RemoveCrc32cPrefix.adoc[`RemoveCrc32cPrefix`] | Compute the CRC32C value of a buffer with a prefix removed. | xref:absl/RemoveCrc32cSuffix.adoc[`RemoveCrc32cSuffix`] | Compute the CRC32C value of a buffer with a suffix removed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#