Populate a message from fuzz data using the specified options.

Synopsis

Declared in <bdlat_fuzzutil.h>

template<class t_MESSAGE>
static
void
consumeMessage(
    t_MESSAGE* message,
    bslim::FuzzDataView* fuzzData,
    FuzzUtilOptions const& options);

Description

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

Parameters

Name

Description

message

message object to populate with generated content

fuzzData

fuzz input bytes; updated to reflect bytes consumed

options

options controlling how fuzz data is consumed

Created with MrDocs