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 c9b0189 commit a1addf1Copy full SHA for a1addf1
src/bufio/bufio.go
@@ -63,7 +63,7 @@ func NewReader(rd io.Reader) *Reader {
63
}
64
65
// Size returns the size of the underlying buffer in bytes.
66
-func (r *Reader) Size() int { return len(r.buf) }
+func (b *Reader) Size() int { return len(b.buf) }
67
68
// Reset discards any buffered data, resets all state, and switches
69
// the buffered reader to read from r.
0 commit comments