Expand description
Implementation of bao streaming for std io and tokio io
Modules§
- fsm
- Async io, written in fsm style
- mixed
- Read from sync, send to tokio sender
- outboard
- Implementations of the outboard traits
- sync
- Sync IO operations
Structs§
Enums§
- BaoContent
Item - A content item for the bao streaming protocol.
- Decode
Error - Error when decoding from a reader, after the size has been read
- Encode
Error - Error when encoding from outboard and data
Functions§
- full_
chunk_ groups - Given a range set of byte ranges, round it up to chunk groups.
- round_
up_ to_ chunks - Given a range set of byte ranges, round it up to full chunks.
- round_
up_ to_ chunks_ groups - Given a range set of chunk ranges, round up to chunk groups of the given size.