tar
    Preparing search index...

    Type Alias ParseEvent<E>

    ParseEvent:
        | { entry: E; type: "entry" }
        | { data: Uint8Array; type: "body" }
        | { type: "entryEnd" }
        | { type: "end" }

    What Parser.next() returns.

    Type Parameters

    Type Declaration

    • { entry: E; type: "entry" }

      An entry that is not a PAX or GNU meta entry. If entry.ignore is set, the parser skips the body, and no other event follows for this entry.

    • { data: Uint8Array; type: "body" }

      A part of the body of the entry. A view into the input.

    • { type: "entryEnd" }

      The end of the body of the entry.

    • { type: "end" }

      The end of the archive. No event follows.