c0data
    Preparing search index...

    Class Container

    A file or message: one or more documents and an optional raw tail after EM.

    Index
    • Parse buf[0, stop). The tail after EM runs to the end of the buffer.

      Parameters

      • buf: Uint8Array
      • Optionalstop: number
      • Optionalparser: Parser

      Returns Container

    documents: Document[] = []
    hasEm: boolean = false
    tail: Uint8Array = EMPTY
    warnings: string[] = []

    Loud warnings about the container as a whole; each document carries its own.

    • get blobTable(): Body | undefined

      The blob table from the first document's heading.

      Returns Body | undefined

    • Bytes of a named blob from the tail, or undefined.

      Parameters

      • name: string

      Returns Uint8Array<ArrayBufferLike> | undefined