Skip to main content

Module stream

Module stream 

Source
Expand description

Streaming file reader over encrypted shards.

Provides ShardStreamReader, a std::io::Read implementation that fetches, decrypts, and decompresses shards on demand. Only one shard is held in memory at a time regardless of total file size.

This is the core read primitive for the void SDK — consumers (soma nodes, web servers, CLI tools) call read() and get bytes without managing shards, encryption, or manifest lookups.

Structs§

ShardStreamReader
A streaming reader over one or more encrypted shards.

Functions§

stream_file
Open a streaming reader for a file in a commit.