MCPcopy Index your code
hub / github.com/klauspost/compress / Reset

Method Reset

zstd/decoder_test.go:1358–1361  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

1356}
1357
1358func (b *bytesReader) Reset(data []byte) {
1359 b.buf = data
1360 b.Reader.Reset(data)
1361}
1362
1363func BenchmarkDecoder_DecoderNewNoRead(b *testing.B) {
1364 zr := testCreateZipReader("testdata/benchdecoder.zip", b)

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.65

Tested by

no test coverage detected