|
libzarr
Header-only C++17 Zarr v2/v3, WASM-compatible
|
#include <algorithm>#include <array>#include <cstdint>#include <map>#include <memory>#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include "libzarr/detail/common.hpp"#include "libzarr/store.hpp"#include "libzarr/types.hpp"Go to the source code of this file.
Classes | |
| class | zarr::ZipStore |
Functions | |
| void | zarr::zip_pack (Store &source, Store &dest, const std::string &dest_key, const std::string &prefix="") |
Single-file archives: a whole store packed into one ZIP with STORED (uncompressed) entries only, so every entry — and any byte range inside it — stays byte-range-readable through the archive (chunk codecs still apply; the zip layer never re-compresses). ZIP64-aware. ZipStore is a read-only Store view over an archive held in any other Store, using nothing but read_range.
|
inline |
Packs every key of source under prefix into a STORED-entry ZIP written at dest_key in dest. Deterministic byte-for-byte: sorted entries, zero timestamps (DOS epoch), no comments.