Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + const AvgSize + const KiB + const MaxSize + const MiB + const MinSize + type Chunk struct + Cut uint64 + Data []byte + Digest []byte + Length uint64 + Start uint64 + func (c Chunk) Reader(r io.ReaderAt) io.Reader + type Chunker struct + MaxSize uint64 + MinSize uint64 + func New(rd io.Reader, pol Pol, h hash.Hash, avSize, min, max uint64) *Chunker + func (c *Chunker) Next() (*Chunk, error) + type Pol uint64 + func RandomPolynomial() (Pol, error) + func (p *Pol) UnmarshalJSON(data []byte) error + func (p Pol) MarshalJSON() ([]byte, error) + func (x Pol) Add(y Pol) Pol + func (x Pol) Deg() int + func (x Pol) Div(d Pol) Pol + func (x Pol) DivMod(d Pol) (Pol, Pol) + func (x Pol) Expand() string + func (x Pol) GCD(f Pol) Pol + func (x Pol) Irreducible() bool + func (x Pol) Mod(d Pol) Pol + func (x Pol) Mul(y Pol) Pol + func (x Pol) MulMod(f, g Pol) Pol + func (x Pol) String() string