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

    Interface OpenOptions

    Options for CGeoDataReader.open().

    interface OpenOptions {
        cacheBytes?: number;
        inflater?: Inflater;
        searchIndex?: IndexOption<SearchIndex>;
        locateIndex?: IndexOption<LocateIndex>;
    }
    Index
    cacheBytes?: number

    Memory budget, in bytes, for decoded chunks and name blocks; least recently used ones are dropped past it. Default 64 MiB. A worldwide file decodes to about 1 GB in all, its largest chunk to about 3 MB, so a budget much below that makes lookups scattered across the world re-decode often. 0 disables caching, except for the one most recently used chunk.

    inflater?: Inflater

    How compressed blocks are inflated. Default streamInflater, which works everywhere; on Node.js, nodeInflater from ./node is several times faster.

    searchIndex?: IndexOption<SearchIndex>

    A search index (Appendix B) for search(); see useSearchIndex(). Not read until the first search that can use it.

    locateIndex?: IndexOption<LocateIndex>

    A locate index (Appendix C) for locate(); see useLocateIndex(). Not read until the first locate().