FlexiByteArray

constructor(size: Int, init: (Int) -> Byte)

Create a FlexiByteArray with a specific size and initialize with a specific value.


constructor(byteArray: ByteArray, bitIndex: Int = 7)

Wrap a ByteArray and set the bit index of the last byte.