# Packages
No description provided by the author
Package joiner provides implementations of the file.Joiner interface.
Package loadsave provides lightweight persistence abstraction for manifest operations.
Package pipeline provides functionality for hashing pipelines needed to create different flavors of merkelised representations
of arbitrary data.
No description provided by the author
Package splitter provides implementations of the file.Splitter interface.
No description provided by the author
# Functions
ChunkAddresses returns data shards and parities of the intermediate chunk assumes data is truncated by ChunkPayloadSize.
ChunkPayloadSize returns the effective byte length of an intermediate chunk assumes data is always chunk size (without span).
GenerateSpanSizes generates a dictionary of maximum span lengths per level represented by one SectionSize() of data.
JoinReadAll reads all output from the provided Joiner.
Levels calculates the last level index which a particular data section count will result in.
NewAbortError creates a new AbortError instance.
Creates a new ChunkPipe.
NewHashError creates a new HashError instance.
NewSimpleReadCloser creates a new simpleReadCloser.
ReferenceCount brute-forces the data shard count from which identify the parity count as well in a substree assumes span > swarm.chunkSize returns data and parity shard number.
SplitWriteAll writes all input from provided reader to the provided splitter.
# Variables
No description provided by the author
# Structs
AbortError should be returned whenever a file operation is terminated before it has completed.
ChunkPipe ensures that only the last read is smaller than the chunk size, regardless of size of individual writes.
HashError should be returned whenever a file operation is terminated before it has completed.