tar
    Preparing search index...

    Type Alias BodySource

    Where a ReadEntry gets its body.

    type BodySource = {
        fill(): Promise<void>;
        readBody(entry: ReadEntry): Uint8Array<ArrayBufferLike> | null | undefined;
    }

    Implemented by

    Index

    Methods

    Methods

    • The next part of the body of entry. null at the end of the body. undefined if more input is needed: then await fill() and call this again. Throws if the source moved to a later entry.

      Parameters

      Returns Uint8Array<ArrayBufferLike> | null | undefined