[#absl-ConcatCrc32c]
= xref:absl.adoc[absl]::ConcatCrc32c
:relfileprefix: ../
:mrdocs:

Compute the CRC32C value of two concatenated buffers&period;

== Synopsis

Declared in `&lt;absl&sol;crc&sol;crc32c&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/crc32c_t.adoc[crc32c&lowbar;t]
ConcatCrc32c(
    xref:absl/crc32c_t.adoc[crc32c&lowbar;t] crc1,
    xref:absl/crc32c_t.adoc[crc32c&lowbar;t] crc2,
    size&lowbar;t crc2&lowbar;length);
----

== Description

Calculates the CRC32C value of two buffers with known CRC32C values concatenated together&period;

Given a buffer with CRC32C value `crc1` and a buffer with CRC32C value `crc2` and length, `crc2&lowbar;length`, returns the CRC32C value of the concatenation of these two buffers&period;

This operation has a runtime cost of O(log(`crc2&lowbar;length`))&period;

== Return Value

The CRC32C value of the concatenated buffers&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *crc1*
| The CRC32C value of the first buffer&period;
| *crc2*
| The CRC32C value of the second buffer&period;
| *crc2&lowbar;length*
| The length in bytes of the second buffer&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
