unpack

fun unpack(packed: ByteArray, count: Int, bits: Int): ByteArray(source)

Unpack a byte array back to signed codes.

Return

Signed codes

Parameters

packed

Packed byte array

count

Number of codes to unpack

bits

Bits per code (2, 3, 4, or 8)