BitStream

fun BitStream()
fun BitStream(bytes: List<Byte>, offstart: Int, offend: Int)

Parameters

bytes

bits packed as bytes, the last byte is padded with 0s

offstart

offset at which the first bit is in the first byte

offend

offset at which the last bit is in the last byte