consumeRandomLengthChars overloads

Synopses

Declared in <bslim_fuzzutil.h>

Load into output a character sequence of length at most maxLength.

static
void
consumeRandomLengthChars(
    bsl::vector<char>* output,
    FuzzDataView* fuzzDataView,
    std::size_t maxLength);

Same as the preceding overload for std::pmr::vector<char>.

static
void
consumeRandomLengthChars(
    std::pmr::vector<char>* output,
    FuzzDataView* fuzzDataView,
    std::size_t maxLength);

Same as the preceding overload for std::vector<char>.

static
void
consumeRandomLengthChars(
    std::vector<char>* output,
    FuzzDataView* fuzzDataView,
    std::size_t maxLength);

Parameters

Name

Description

output

destination for the generated character sequence

fuzzDataView

view providing fuzz input bytes

maxLength

maximum number of characters to load into output

Created with MrDocs