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