s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
26 lines • 937 B
TypeScript
import type { Pbf as Protobuf } from '../../readers/protobuf';
export declare const OSM_MAX_HEADER_SIZE: number;
export declare const OSM_MAX_BLOB_SIZE: number;
/**
* A file contains an sequence of fileblock headers, each prefixed by
* their length in network byte order, followed by a data block
* containing the actual data. Types starting with a "_" are reserved.
* example: { type: 'OSMHeader', indexdata: null, datasize: 173 }
*/
export declare class BlobHeader {
#private;
type: string;
indexdata: Uint8Array;
datasize: number;
/** @param pbf - the Protobuf object to read from */
constructor(pbf: Protobuf);
}
/** A Blob is a data block containing the actual data. */
export declare class Blob {
#private;
raw_size: number;
data: Uint8Array | Promise<Uint8Array>;
/** @param pbf - the Protobuf object to read from */
constructor(pbf: Protobuf);
}
//# sourceMappingURL=blob.d.ts.map