c0data
    Preparing search index...

    Class Document

    One C0DATA document: an optional SYN heading, a body, an optional EOT. new Document(buf) reads the first document in the buffer. Use Container for a buffer holding several documents or an EM tail.

    Index
    • Parameters

      • buf: Uint8Array
      • start: number = 0
      • Optionalstop: number
      • Optionalparser: Parser

      Returns Document

    body: Body
    buf: Uint8Array
    hasEot: boolean
    hasSyn: boolean
    heading: Heading
    start: number
    stop: number

    Position after EOT (or the end of the document).

    warnings: string[] = []

    Loud warnings (DESIGN.md, Warnings).

    • get groupNames(): Uint8Array<ArrayBufferLike>[]

      Returns Uint8Array<ArrayBufferLike>[]