s2-pmtiles - v1.1.2
    Preparing search index...

    Class BufferReader

    Buffer reader is used on files that are small and easy to read in memory. Faster then the Filesystem

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • buffer: Uint8Array

        the input data is the entire pmtiles file

      Returns BufferReader

    Properties

    buffer: Uint8Array

    the input data is the entire pmtiles file

    Methods

    • Parameters

      • offset: number

        the offset of the range

      • length: number

        the length of the range

      Returns Promise<Uint8Array<ArrayBufferLike>>

      • the ranged buffer