unpackCover

function unpackCover
universe/src/cover.ts:536
unpackCover(bytes: Uint8Array, at: number) → SurfaceCover

The bytes back, as a record. The inverse of packCover.

Beside it rather than at the reader, because the channel order and the 255 are one fact and a reader that spells them out again is a second place they have to stay true — and the order is a live question while the deposits still want a channel for the canonical slope.

bytesUint8Array
Undocumented
atnumber
Undocumented