MCPcopy Create free account
hub / github.com/divan/txqr / Encoder

Struct Encoder

encode.go:11–14  ·  view source on GitHub ↗

Encoder represents protocol encoder.

Source from the content-addressed store, hash-verified

9
10// Encoder represents protocol encoder.
11type Encoder struct {
12 chunkLen int
13 redundancyFactor float64
14}
15
16// NewEncoder creates and inits a new encoder for the given chunk length.
17func NewEncoder(n int) *Encoder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected