G-code Preview — API Reference
    Preparing search index...

    The per-archive maxExpandedBytesTotal budget (#449). Create ONE per opened archive and pass it to every extractEntry/streamEntry call on that archive. It charges DISTINCT expanded bytes: each entry is charged its high-water mark once, so re-streaming the same entry (e.g. re-opening a plate) does not charge twice, while distinct entries sum toward the total. Over budget → E_CONTAINER_LIMIT_TOTAL.

    Index
    total: number
    • Record that name has produced produced bytes so far; throws when that would pass the total.

      Parameters

      • name: string
      • produced: number

      Returns void

    • Bytes name may expand to: what is left, plus what name already holds.

      Parameters

      • name: string

      Returns number