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

Struct Decoder

decode.go:12–19  ·  view source on GitHub ↗

Decoder represents protocol decode.

Source from the content-addressed store, hash-verified

10
11// Decoder represents protocol decode.
12type Decoder struct {
13 chunkLen int
14 codec fountain.Codec
15 fd fountain.Decoder
16 completed bool
17 total int
18 cache map[string]struct{}
19}
20
21// NewDecoder creates and inits a new decoder.
22func NewDecoder() *Decoder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected