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

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;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
consumeBool(xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView);
----

== Return Value

a `bool` based on one consumed byte, or `false` if empty

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fuzzDataView*
| view providing fuzz input bytes
|===


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