[#BytesToBits]
= BytesToBits
:mrdocs:

Unpack bytes into a vector of bits, eight bits per byte, least significant bit first&period;

== Synopsis

Declared in `&lt;merkleblock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;bool&gt;
BytesToBits(std::vector&lt;unsigned char&gt; const& bytes);
----

== Return Value

The unpacked bit sequence, eight bits per input byte&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bytes*
| The packed bytes to expand&period;
|===


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