# BITSET_MAX_DECODE_DENSE_BYTES

> `const` **BITSET_MAX_DECODE_DENSE_BYTES**: `number`

Defined in: [packages/bitset/src/serialization.ts:64](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/bitset/src/serialization.ts#L64)

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.
