Data manipulation

sdr.pack(x: ArrayLike, bpe: int, ...) NDArray[int_]

Packs a binary array into an array with multiple bits per element.

sdr.unpack(x: ArrayLike, bpe: int, ...) NDArray[int_]

Unpacks an array with multiple bits per element into a binary array.

sdr.hexdump(data: ArrayLike | bytes, width: int = 16) str

Returns a hexdump of the specified data.


Last update: Jul 27, 2023