Skip to content

MAX_CHUNK_COUNT

const MAX_CHUNK_COUNT: 4294967295 = 4294967295

Defined in: packages/filecoin-encryption-envelope/src/constants.ts:41

Largest chunk count the wire profile permits: 2^32 - 1. Indices start at zero and end at chunkCount - 1, so the 32-bit counter never wraps. The 64 GiB encoded-object limit binds much earlier for every legal chunk size.