BloombergLP::bdlat::FuzzUtil::consumeMessage

consumeMessage overloads

Synopses

Declared in <bdlat_fuzzutil.h>

Populate a message from fuzz data bytes.

template<class t_MESSAGE>
static
void
consumeMessage(
    t_MESSAGE* message,
    bslim::FuzzDataView* fuzzData);
» more...

Populate a message from fuzz data using the specified options.

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

Parameters

NameDescription
messagemessage object to populate with generated content
fuzzDatafuzz input bytes; updated to reflect bytes consumed
optionsoptions controlling how fuzz data is consumed