s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
8 lines • 441 B
TypeScript
/** What to expect from the decoder */
export type Decoder = ((buffer: ArrayBufferLike, tables?: number[]) => Promise<ArrayBufferLike>) | ((buffer: ArrayBufferLike, tables?: number[]) => ArrayBufferLike);
/**
* @param compression - the encoded compression value
* @returns the decoder function matching the given compression value
*/
export declare function getDecoder(compression?: number): Decoder;
//# sourceMappingURL=decoder.d.ts.map