Thruput TypeScript protocol bindings
    Preparing search index...

    Variable MAX_PREALLOC_BYTESConst

    MAX_PREALLOC_BYTES: number = ...

    Maximum number of bytes a decoder may speculatively pre-allocate for a variable-size container before any element has actually been decoded.

    Mirrors the bounded-reserve pattern used by hogd's x23 deserializer and the Rust xdrs MAX_PREALLOC_BYTES: the untrusted length prefix sizes the initial reservation only up to this budget, and the container grows lazily beyond it as elements really decode, so a forged length prefix cannot force a large up-front allocation.