package
0.4.33
Repository: https://github.com/p9c/pod.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetParams reads the shard's prefix to provide the correct parameters for the RS codec the packet requires based on the prefix on a shard (presumably to create the codec when a new packet/group of shards arrives).
GetShards returns a bundle of segments to be sent or stored in a 1kb segment size with redundancy shards added to each segment's shards that can reconstruct the original message by derivation via the available parity shards.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPacket creates a new structure to store a collection of incoming shards when the first of a new packet arrives.
Pieces computes the number of pieces based on a given chunk size.
SegmentBytes breaks a chunk of data into requested sized limit chunks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

Partials is a structure for storing a new inbound packet.
PartialSegment is a max 16kb long segment with arbitrary redundancy parameters when all of the data segments are successfully received hasAll indicates the segment may be ready to reassemble.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author