toByteArray

Converts a BitArray to ubyte[].

The input must be a multiple of 8 bytes. There is no bounds check and no padding will be done.

pure
ubyte[]
toByteArray
(
const ref BitArray bitArr
)

Parameters

bitArr BitArray

The BitArray to convert to ubyte[]

Return Value

Type: ubyte[]

Converted byte array

See Also

Meta