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

Populate a message from fuzz data using the specified options&period;

== Synopsis

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

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

== Description

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;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| message object to populate with generated content
| *fuzzData*
| fuzz input bytes&semi; updated to reflect bytes consumed
| *options*
| options controlling how fuzz data is consumed
|===


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