mirror of
https://github.com/golang/go
synced 2024-11-23 01:40:03 -07:00
image/gif: fix typo in the comment (io.ReadByte -> io.ByteReader)
Fixes #46967 Change-Id: I66e69c70b74e904623e8ca854562d255692b2143 Reviewed-on: https://go-review.googlesource.com/c/go/+/331649 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlos@golang.org>
This commit is contained in:
parent
0fa3265fe1
commit
7d0e9e6e74
@ -116,7 +116,7 @@ type decoder struct {
|
|||||||
// consumed when checking that the blockReader is exhausted.
|
// consumed when checking that the blockReader is exhausted.
|
||||||
//
|
//
|
||||||
// To avoid the allocation of a bufio.Reader for the lzw Reader, blockReader
|
// To avoid the allocation of a bufio.Reader for the lzw Reader, blockReader
|
||||||
// implements io.ReadByte and buffers blocks into the decoder's "tmp" buffer.
|
// implements io.ByteReader and buffers blocks into the decoder's "tmp" buffer.
|
||||||
type blockReader struct {
|
type blockReader struct {
|
||||||
d *decoder
|
d *decoder
|
||||||
i, j uint8 // d.tmp[i:j] contains the buffered bytes
|
i, j uint8 // d.tmp[i:j] contains the buffered bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user