MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Read

Method Read

internal/compressions/reader_zstd.go:30–32  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

28}
29
30func (this *ZSTDReader) Read(p []byte) (n int, err error) {
31 return this.reader.Read(p)
32}
33
34func (this *ZSTDReader) Reset(reader io.Reader) error {
35 return this.reader.Reset(reader)

Callers 2

TestZSTDReaderFunction · 0.95
BenchmarkZSTDReaderFunction · 0.95

Calls 1

ReadMethod · 0.65

Tested by 2

TestZSTDReaderFunction · 0.76
BenchmarkZSTDReaderFunction · 0.76