# Functions
LengthToSpan creates a binary data span size representation.
New creates a reusable BMT Hasher that pulls a new tree from a resource pool for hashing each chunk.
NewTreePool creates a tree pool with hasher, segment size, segment count and capacity on Hasher.getTree it reuses free trees or creates a new one if capacity is not reached.
# Constants
PoolSize is the maximum number of bmt trees used by the hashers, i.e, the maximum number of concurrent BMT hashing operations performed by the same hasher.
# Variables
No description provided by the author
# Structs
Hasher a reusable hasher for fixed maximum size chunks representing a BMT It reuses a pool of trees for amortised memory allocation and resource control, and supports order-agnostic concurrent segment writes and section (double segment) writes as well as sequential read and write.
TreePool provides a pool of trees used as resources by the BMT Hasher.
# Type aliases
BaseHasherFunc is a hash.Hash constructor function used for the base hash of the BMT.