tar
    Preparing search index...

    Class EntryCursor<E>

    Gets entries and the parts of their bodies from a Parser. The readers use it. It does not read input.

    Type Parameters

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    current?: E

    The entry that has a body to read now.

    ended: boolean = false

    True after the end of the archive.

    parser: Parser<E>

    Methods

    • The next part of the body of entry. null at the end of the body. undefined if the parser needs more input.

      Parameters

      • entry: E

      Returns Uint8Array<ArrayBufferLike> | null | undefined

    entry

    • entry(): E | null | undefined

      The next entry that is not ignored. null at the end of the archive. undefined if the parser needs more input. The rest of the body of the entry before it is skipped.

      Returns E | null | undefined