UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

21 lines 768 B
import type { Entry, Header } from '../../readers/pmtiles'; /** * Create raw header bytes from a Header object. * @param header - the header object * @returns the raw header bytes */ export declare function headerToBytes(header: Header): Uint8Array; /** * Serialize a directory of entires into a buffer * @param entries - the directory entries * @returns - the serialized directory */ export declare function serializeDir(entries: Entry[]): Uint8Array; /** * Take a large 64-bit number and encode it into a DataView * @param dv - a DataView * @param offset - the offset in the DataView * @param value - the encoded 64-bit number */ export declare function setUint64(dv: DataView, offset: number, value: number): void; //# sourceMappingURL=pmtiles.d.ts.map