Module bao_tree::io

source ·
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

Functions

  • The encoded size of a file of size size with a block size of block_size
  • Computes the pre order outboard of a file in memory.
  • The outboard size of a file of size size with a block size of block_size