IFClite TypeScript API
    Preparing search index...

    Interface BlockedPayload

    The wire/consructor shape: compressed blocks plus their offset index.

    interface BlockedPayload {
        blocks: Uint8Array;
        blockSize: number;
        index: Uint32Array;
        storedMask: Uint8Array;
        totalLength: number;
    }

    Hierarchy (View Summary)

    Index
    blocks: Uint8Array

    All compressed blocks, concatenated.

    blockSize: number
    index: Uint32Array

    blocks offsets, length blockCount + 1. Block i occupies [index[i], index[i + 1]), so the last entry is blocks.byteLength.

    storedMask: Uint8Array

    One byte per block: 1 = stored verbatim, 0 = deflated. Incompressible blocks (already-compressed payloads embedded in a STEP file) would otherwise grow, and a store that can grow is not one you can gate on size.

    totalLength: number

    Logical length of the original source.