Stream writes
The streaming path splits the payload into segments. The SDK consumes input incrementally from anyAsyncRead source. Each segment is written as a coded track, and the manifest is written last. The receipt carries the manifest address.
The stream as a whole may carry a name and become an object. Segment tracks stay nameless and never appear in listings. Certification applies per coded track, and the engine handles it.
The manifest
For readers working below the one-call write. The manifest is an ordered list of entries, each mapping a byte range to a segment track address. It is itself a coded track, addressed like any other. Tooling authors get codec helpers for it on docs.rs (the wire type isChunkManifest).
Manifest-last ordering has one consequence: a stream is readable only once its manifest lands, so the manifest address is the stream’s identity.
A stream write: segments first, manifest last, and a range read touching only two segments.
Reading streams
Read by manifest address (or name), whole or by range. Reassembly is transparent: you receive bytes, never segments. For very large content, the streaming read consumes segments incrementally instead of buffering the whole object.Interruption and resume
An interrupted stream write leaves completed segments behind as registered coded tracks. The manifest is absent, so nothing lists and nothing reads. Two ways forward:- Re-run the write. New segments are written; the orphans can be deleted to reclaim capacity.
- Assemble the manifest yourself. Pipeline builders can write a manifest over already-written segments through the staged pipeline.