[#absl-RemoveCrc32cSuffix] = xref:absl.adoc[absl]::RemoveCrc32cSuffix :relfileprefix: ../ :mrdocs: Compute the CRC32C value of a buffer with a suffix removed. == Synopsis Declared in `<absl/crc/crc32c.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/crc32c_t.adoc[crc32c_t] RemoveCrc32cSuffix( xref:absl/crc32c_t.adoc[crc32c_t] full_string_crc, xref:absl/crc32c_t.adoc[crc32c_t] suffix_crc, size_t suffix_length); ---- == Description Calculates the CRC32C value of an existing buffer with a series of bytes (the suffix) removed from the end of that buffer. Given a CRC32C value of an existing buffer `full_string_crc`, the CRC32C value of the suffix to remove `suffix_crc`, and the length of that suffix `suffix_len`, returns the CRC32C value of the buffer with suffix removed. This operation has a runtime cost of O(log(`suffix_len`)) == Return Value The CRC32C value of the buffer with the suffix removed. == Parameters [cols="1,4"] |=== | Name| Description | *full_string_crc* | The CRC32C value of the complete buffer. | *suffix_crc* | The CRC32C value of the suffix being removed. | *suffix_length* | The length of the suffix being removed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#