Module blob

Module blob 

Source
Expand description

Blob defines a chunk of data to be parsed as either a header or a primitive

Structs§

Blob
STORAGE LAYER: Storing primitives. A Blob is a data block containing the actual data.
BlobHeader
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 }

Constants§

OSM_MAX_BLOB_SIZE
blobs have a max size of 32MB
OSM_MAX_HEADER_SIZE
headers have a max size of 64KB