[#BloombergLP-bslh-DefaultSeededHashAlgorithm-operator_call]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/DefaultSeededHashAlgorithm.adoc[DefaultSeededHashAlgorithm]::operator()
:relfileprefix: ../../../
:mrdocs:

Incorporate the specified `data` of `numBytes` into the hash state&period;

== Synopsis

Declared in `&lt;bslh&lowbar;defaultseededhashalgorithm&period;h&gt;`

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

== Description

Incorporate the specified `data`, of at least the specified `numBytes`, into the internal state of the hashing algorithm&period; Every bit of data incorporated into the internal state of the algorithm will contribute to the final hash produced by `computeHash()`&period; The same hash will be produced regardless of whether a sequence of bytes is passed in all at once or through multiple calls to this member function&period; Input where `numBytes` is 0 will have no effect on the internal state of the algorithm&period; The behaviour is undefined unless `data` points to a valid memory location with at least `numBytes` bytes of initialized memory or `numBytes` is zero&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| bytes to incorporate into the hash
| *numBytes*
| number of bytes of `data` to incorporate
|===


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