Versions in this module Expand all Collapse all v0 v0.9.1 Apr 30, 2019 Changes in this version + const ShardsRequired + const ShardsTotal + func AppendChecksum(in []byte) []byte + func BytesToUint64(bytes []byte) uint64 + func PadData(data []byte, required, total int) []byte + func Split(data []byte, required, total int) [][]byte + func Uint64ToBytes(input uint64) []byte + func UnpadData(data []byte) (out []byte) + func VerifyChecksum(in []byte) (out []byte, verified bool) + func ZeroBytes(b []byte) + type RS struct + func New(required, total int) *RS + func (r *RS) Decode(shards [][]byte) (out []byte) + func (r *RS) Encode(data []byte) [][]byte