Serializes an array of boolean into a Buffer. The byteSize parameter
can be used to create a fixed-size Buffer, otherwise the Buffer will
have the minimum amount of bytes required to store the boolean array.
Returns a Buffer whose bits are ordered from left to right, unless
backward is set to true, in which case the bits are ordered from
right to left.
Serializes an array of boolean into a Buffer. The
byteSize
parameter can be used to create a fixed-size Buffer, otherwise the Buffer will have the minimum amount of bytes required to store the boolean array.Returns a Buffer whose bits are ordered from left to right, unless
backward
is set to true, in which case the bits are ordered from right to left.