taglib-ts
    Preparing search index...

    Interface BlobSegmentInternal

    A segment that references a byte range inside the original source blob.

    Once the range has been read, the raw bytes are stored in cache so that future reads of overlapping ranges are served from memory without issuing another arrayBuffer() call.

    interface BlobSegment {
        cache?: Uint8Array<ArrayBufferLike>;
        end: number;
        kind: "blob";
        start: number;
    }
    Index

    Properties

    Properties

    cache?: Uint8Array<ArrayBufferLike>

    Populated on first fetch. Once set, reads from this segment are in-memory and require no async I/O.

    end: number

    Exclusive end offset within the source blob.

    kind: "blob"

    Discriminant tag.

    start: number

    Inclusive start offset within the source blob.