pub fn encode_stream(
module: &InfinityModule,
chunk: usize,
) -> Result<Vec<Frame>>Expand description
Encode a module into stream frames.
The frames carry the exact bytes of the module’s canonical image, so
reassembly reproduces encode(module) byte for byte and therefore the same
content hash as the whole-module encoding.