Skip to main content

Module bundle

Module bundle 

Source
Expand description

Entry bundles, tile/entries/<N>[.p/<W>]: a sequence of big-endian uint16 length-prefixed entries, 256 to a full bundle. Entry i of bundle N hashes to hash i of level-0 tile N.

Functions§

decode_bundle
The entries of a bundle’s bytes; refused when a length prefix runs past the end or bytes trail the last entry.
encode_bundle
The bytes of a bundle over entries; an entry over 65535 bytes is refused.