unpack

fun unpack(longs: ImmutableLongArray, lengthInBits: Int): IntArray

Unpacks int values of 'lengthInBits' bits from a long array. Contrary to decompress, this method will produce unused bits and do not overflow remaining bits to the next long.

(ie 2 >32 bit long values will produce two longs, but the highest bits of each long will be unused)