decompressUint128
decompressUint128(
compressed
):Uint8Array
Decompresses an array of 128-bit bigints into a flattened byte array.
Takes an array of 128-bit bigints and returns a Uint8Array containing the decompressed bytes (16 bytes per bigint).
Parameters
Parameter | Type | Description |
---|---|---|
compressed | bigint [] | The input array of 128-bit bigints. Each bigint must be less than 2^128. |
Returns
A Uint8Array containing the decompressed bytes.
Throws
Error if any bigint in the input is not less than 2^128.