[#BloombergLP-bslim-FuzzUtil-consumeRandomLengthString-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/FuzzUtil.adoc[FuzzUtil]::consumeRandomLengthString :relfileprefix: ../../../ :mrdocs: `consumeRandomLengthString` overloads == Synopses Declared in `<bslim_fuzzutil.h>` Load into `output` a string of length at most `maxLength`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-0bc.adoc[consumeRandomLengthString]( xref:bsl/string.adoc[bsl::string]* output, xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView, std::size_t maxLength); ---- [.small]#xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-0bc.adoc[_» more..._]# Same as the preceding overload for `std::pmr::string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-0b6.adoc[consumeRandomLengthString]( std::pmr::string* output, xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView, std::size_t maxLength); ---- [.small]#xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-0b6.adoc[_» more..._]# Same as the preceding overload for `std::string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-04.adoc[consumeRandomLengthString]( std::string* output, xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView, std::size_t maxLength); ---- [.small]#xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *output* | destination for the generated string | *fuzzDataView* | view providing fuzz input bytes | *maxLength* | maximum number of characters to load into `output` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#