[#BloombergLP-bslim-FuzzUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::FuzzUtil
:relfileprefix: ../../
:mrdocs:

Utility for consuming fuzz data into fundamental and standard types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct FuzzUtil;
----

== Description

This utility `struct` provides a namespace for a suite of functions operating on objects of type `FuzzDataView` and providing the consumption of fuzz data bytes into fundamental and standard library types&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslim/FuzzUtil/consumeBool.adoc[`consumeBool`] 
| Return a `bool` value based upon consuming a single byte from the specified `fuzzDataView`&period; If `fuzzDataView&hyphen;&gt;length()` is 0, return `false`&period;
| xref:BloombergLP/bslim/FuzzUtil/consumeNumber-0b.adoc[`consumeNumber`] 
| Return a value of (template parameter) `TYPE` across its full range&period;
| xref:BloombergLP/bslim/FuzzUtil/consumeNumberInRange-0c.adoc[`consumeNumberInRange`] 
| `consumeNumberInRange` overloads
| xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthAsciiString-03.adoc[`consumeRandomLengthAsciiString`] 
| `consumeRandomLengthAsciiString` overloads
| xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthChars-06.adoc[`consumeRandomLengthChars`] 
| `consumeRandomLengthChars` overloads
| xref:BloombergLP/bslim/FuzzUtil/consumeRandomLengthString-06.adoc[`consumeRandomLengthString`] 
| `consumeRandomLengthString` overloads
|===



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