MCPcopy
hub / github.com/klauspost/compress / readerWrapper

Struct readerWrapper

zstd/bytebuf.go:77–80  ·  view source on GitHub ↗

wrapper around a reader.

Source from the content-addressed store, hash-verified

75
76// wrapper around a reader.
77type readerWrapper struct {
78 r io.Reader
79 tmp [8]byte
80}
81
82func (r *readerWrapper) readSmall(n int) ([]byte, error) {
83 if debugAsserts && n > 8 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected