@ferrybig/cgeodata-reader
    Preparing search index...

    A source over a Blob -- in a browser, a File the user picked -- reading each range as it's asked for, without loading the whole file.

    Implements

    Index
    • Parameters

      • blob: Blob
      • Optionalname: string

      Returns BlobSource

    name?: string

    Shown in error messages about this source, e.g. a file path.

    • get size(): number

      Total size in bytes.

      Returns number

    • length bytes from offset, fewer only where the source ends. The returned bytes may be a view of the source's own memory, so a caller must not modify them.

      Parameters

      • offset: number
      • length: number

      Returns Promise<Uint8Array<ArrayBufferLike>>