Expand description
Implementation of bao streaming for std io and tokio io
Modules
- Async (tokio) io, written in fsm style
- Implementations of the outboard traits
- Syncronous IO
Structs
- A bao header, containing the size of the file.
- A leaf node.
- A parent hash pair.
Enums
- Error when decoding from a reader
- Error when encoding from outboard and data
Functions
- The encoded size of a file of size
size
with a block size ofblock_size
- Computes the pre order outboard of a file in memory.
- The outboard size of a file of size
size
with a block size ofblock_size