MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / EcEncoder

Struct EcEncoder

lib/dh/ec.go:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type EcEncoder struct {
10 reedsolomon.Encoder
11}
12
13func NewEcEncoder(dataNum int, parityNum int) (EcEncoder, error) {
14 encoder, err := reedsolomon.New(dataNum, parityNum)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected