Skip to content

const BITSET_MAX_DECODE_DENSE_BYTES: number

Defined in: packages/bitset/src/serialization.ts:64

The largest dense bitmap a decoder will build, and the largest a serializer will write.

Enforced in both directions on purpose: without it a payload of a few dozen bytes could name a far chunk and make the decoder allocate the whole id domain, and an encoder could write bytes its own decoder refuses.