package
0.0.0-20231112095356-70c1fabb2e7d
Repository: https://github.com/aecra/peercodex.git
Documentation: pkg.go.dev

# Packages

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

# Functions

Before recoding can be performed, coded pieces byte array i.e.
Generates random coding vector of specified length No specific randomization choice is made, default available source is used.
When you want to split whole data chunk into N-many original pieces, this function will do it, while appending extra zero bytes ( read padding bytes ) at end of last piece if exact division is not feasible.
Given whole chunk of data & desired size of each pieces ( in terms of bytes ), it'll split chunk into pieces, which are to be used by encoder for performing RLNC In case whole data chunk can't be properly divided into pieces of requested size, extra zero bytes may be appended at end, considered as padding bytes --- given that each piece must be of same size.

# Variables

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

# Structs

Coded piece along with randomly generated coding vector to be used by recoder/ decoder.

# Type aliases

One component of coded piece; holding information regarding how original pieces are combined together.
A piece of data is nothing but a byte array.