package
1.0.1
Repository: https://github.com/dxchainnetwork/godx.git
Documentation: pkg.go.dev

# Functions

New returns a new ErasureCoder.

# Constants

ECTypeInvalid is the type not supported.
ECTypeShard is the type code for shardErasureCode.
ECTypeStandard is the type code for standardErasureCode.
EncodedShardUnit minimum unit for encoded data structure.

# Variables

ErrInsufficientData is the error that not sufficient data is provided for recovery.
ErrInvalidECType is the error that the input type code is not supported.

# Interfaces

ErasureCoder is the interface supported for this package.