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

Copy bytes while computing the CRC32C value of the copied data&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]
MemcpyCrc32c(
    void* dest,
    void const* src,
    size&lowbar;t count,
    xref:absl/crc32c_t.adoc[crc32c&lowbar;t] initial&lowbar;crc = crc32c&lowbar;t&lcub;0&rcub;);
----

== Description

Copies `src` to `dest` using `memcpy()` semantics, returning the CRC32C value of the copied buffer&period;

Using `MemcpyCrc32c()` is potentially faster than performing the `memcpy()` and `ComputeCrc32c()` operations separately&period;

== Return Value

The CRC32C value of the copied bytes&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dest*
| The destination buffer&period;
| *src*
| The source buffer&period;
| *count*
| The number of bytes to copy&period;
| *initial&lowbar;crc*
| The CRC32C value to extend&period;
|===


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