Skip to content

Commit

Permalink
mem: replace flate.Reader reference (grpc#7595)
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k authored and purnesh42H committed Sep 11, 2024
1 parent 12487c8 commit 9a24098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mem/buffer_slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package mem

import (
"compress/flate"
"io"
)

Expand Down Expand Up @@ -126,7 +125,8 @@ func (s BufferSlice) Reader() Reader {
// Remaining(), which returns the number of unread bytes remaining in the slice.
// Buffers will be freed as they are read.
type Reader interface {
flate.Reader
io.Reader
io.ByteReader
// Close frees the underlying BufferSlice and never returns an error. Subsequent
// calls to Read will return (0, io.EOF).
Close() error
Expand Down

0 comments on commit 9a24098

Please sign in to comment.