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

Method readSmall

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

Read up to 8 bytes. Returns io.ErrUnexpectedEOF if this cannot be satisfied.

(n int)

Source from the content-addressed store, hash-verified

13 // Read up to 8 bytes.
14 // Returns io.ErrUnexpectedEOF if this cannot be satisfied.
15 readSmall(n int) ([]byte, error)
16
17 // Read >8 bytes.
18 // MAY use the destination slice.

Callers 5

resetMethod · 0.65
startStreamDecoderMethod · 0.65
resetMethod · 0.65
checkCRCMethod · 0.65
consumeCRCMethod · 0.65

Implementers 1

readerWrapperzstd/bytebuf.go

Calls

no outgoing calls

Tested by

no test coverage detected