[#BloombergLP-bdlat-FuzzUtil-consumeMessage-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat.adoc[bdlat]::xref:BloombergLP/bdlat/FuzzUtil.adoc[FuzzUtil]::consumeMessage
:relfileprefix: ../../../
:mrdocs:

`consumeMessage` overloads

== Synopses

Declared in `&lt;bdlat&lowbar;fuzzutil&period;h&gt;`

Load into the specified `message` content generated using bytes from the specified `fuzzData`, and update `fuzzData` to reflect the bytes consumed&period; Optionally specify an `options` to customize the generated values&period; If `options` is not supplied, default values for the options are used&period; In general, this operation uses `fuzzData` to load the root message element, and then recursively applies `consumeMessage` to any child elements&period; More specifically&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;MESSAGE&gt;
static
void
xref:BloombergLP/bdlat/FuzzUtil/consumeMessage-0f.adoc[consumeMessage](
    t&lowbar;MESSAGE* message,
    xref:BloombergLP/bslim/FuzzDataView.adoc[bslim::FuzzDataView]* fuzzData);
----

[.small]#xref:BloombergLP/bdlat/FuzzUtil/consumeMessage-0f.adoc[_» more&period;&period;&period;_]#

Load into the specified `message` content generated using bytes from the specified `fuzzData` according to the specified `options`&period; See the overload without `options` for full contract details&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;MESSAGE&gt;
static
void
xref:BloombergLP/bdlat/FuzzUtil/consumeMessage-02.adoc[consumeMessage](
    t&lowbar;MESSAGE* message,
    xref:BloombergLP/bslim/FuzzDataView.adoc[bslim::FuzzDataView]* fuzzData,
    xref:BloombergLP/bdlat/FuzzUtilOptions.adoc[FuzzUtilOptions] const& options);
----

[.small]#xref:BloombergLP/bdlat/FuzzUtil/consumeMessage-02.adoc[_» more&period;&period;&period;_]#


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