BytesToBits

Unpack bytes into a vector of bits, eight bits per byte, least significant bit first.

Synopsis

Declared in <merkleblock.h>

std::vector<bool>
BytesToBits(std::vector<unsigned char> const& bytes);

Return Value

The unpacked bit sequence, eight bits per input byte.

Parameters

NameDescription
bytesThe packed bytes to expand.