Expand description
Chunked dataset writing: chunk splitting, compression, index building.
Structs§
- Chunk
Options - Options for chunked dataset creation.
- Chunked
Data Result - Result of building a chunked dataset.
- Written
Chunk - A chunk that has been written to the file buffer.
Functions§
- align_
chunk_ offset - Round a file offset up to the next cache-line boundary.
- build_
chunked_ data_ at - Build chunked data with absolute addresses.
If
maxshapehas unlimited dims, uses Extensible Array index. - build_
chunked_ data_ at_ ext - Build chunked data with absolute addresses and optional maxshape.
- build_
extensible_ array_ at - Build a complete Extensible Array at a known absolute address.
- build_
fixed_ array_ at - Build a complete Fixed Array at a known absolute address.
- serialize_
v4_ single_ chunk_ pub - Build the complete chunked dataset blob (chunk data + index) and return
layout/pipeline messages.
base_addressis where the blob will be placed in the file. Serialize a v4 single chunk layout message (public for OH size estimation). - split_
into_ chunks - Split raw data into chunk-sized pieces based on shape and chunk dimensions. Returns a Vec of (chunk_offset_per_dim, chunk_raw_bytes).