MCPcopy Create free account
hub / github.com/chain/txvm / decodeReader

Struct decodeReader

cmd/hex/main.go:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74type decodeReader struct {
75 r io.Reader
76 par int // parity of last read (0 or 1)
77 b byte // odd byte from last read (if any)
78}
79
80func (r *decodeReader) Read(p []byte) (int, error) {
81 if len(p) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected