We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffb98b commit 3c3a025Copy full SHA for 3c3a025
mem/buffer_slice.go
@@ -19,7 +19,6 @@
19
package mem
20
21
import (
22
- "compress/flate"
23
"io"
24
)
25
@@ -126,7 +125,8 @@ func (s BufferSlice) Reader() Reader {
126
125
// Remaining(), which returns the number of unread bytes remaining in the slice.
127
// Buffers will be freed as they are read.
128
type Reader interface {
129
- flate.Reader
+ io.Reader
+ io.ByteReader
130
// Close frees the underlying BufferSlice and never returns an error. Subsequent
131
// calls to Read will return (0, io.EOF).
132
Close() error
0 commit comments