bufio.Reader.Buffered (method)
16 uses
bufio (current package)
bufio.go#L173: skip := b.Buffered()
bufio.go#L176: skip = b.Buffered()
bufio.go#L201: if b.Buffered() > 0 {
bufio.go#L319: func (b *Reader) Buffered() int { return b.w - b.r }
bufio.go#L351: if b.Buffered() >= len(b.buf) {
github.com/go-redis/redis/v8/internal/proto
reader.go#L46: return r.rd.Buffered()
mime/multipart
multipart.go#L172: peek, _ := br.Peek(br.Buffered())
net/http
server.go#L323: if _, err := c.bufr.Peek(c.bufr.Buffered() + 1); err != nil {
transport.go#L2232: if n := pc.br.Buffered(); n > 0 {
transport.go#L2343: if br.Buffered() != 0 {
transport.go#L2362: if n := b.br.Buffered(); len(p) > n {
transport.go#L2366: if b.br.Buffered() == 0 {
net/http/internal
chunked.go#L62: n := cr.r.Buffered()
chunked.go#L73: if n > 0 && cr.r.Buffered() < 2 {
net/textproto
reader.go#L149: if r.R.Buffered() > 1 {
reader.go#L569: s := r.R.Buffered()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |