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

Method Read

internal/compressions/reader_deflate.go:24–26  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

22}
23
24func (this *DeflateReader) Read(p []byte) (n int, err error) {
25 return this.reader.Read(p)
26}
27
28func (this *DeflateReader) Reset(reader io.Reader) error {
29 this.reader = flate.NewReader(reader)

Callers 1

TestDeflateReaderFunction · 0.95

Calls 1

ReadMethod · 0.65

Tested by 1

TestDeflateReaderFunction · 0.76