[#BloombergLP-bdlde-Crc32-update]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Crc32.adoc[Crc32]::update
:relfileprefix: ../../../
:mrdocs:

Update the value of this checksum to incorporate the specified `data` having the specified `length`&period; If the current state is the default state, the resultant value of this checksum is the application of the CRC&hyphen;32 algorithm upon the currently given `data` of the given `length`&period; If this checksum has been previously provided data and has not been subsequently reset, the current state is not the default state and the resultant value is equivalent to applying the CRC&hyphen;32 algorithm upon the concatenation of all the provided data&period; Note that if `data` is 0, then `length` also must be 0&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;crc32&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
update(
    void const* data,
    std::size&lowbar;t length);
----


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