bufio.Reader.Buffered (method)
16 uses
bufio (current package)
bufio.go#L189: skip := b.Buffered()
bufio.go#L192: skip = b.Buffered()
bufio.go#L218: if b.Buffered() > 0 {
bufio.go#L338: func (b *Reader) Buffered() int { return b.w - b.r }
bufio.go#L370: if b.Buffered() >= len(b.buf) {
mime/multipart
multipart.go#L201: peek, _ := br.Peek(br.Buffered())
net/http
server.go#L328: if _, err := c.bufr.Peek(c.bufr.Buffered() + 1); err != nil {
transport.go#L2267: if n := pc.br.Buffered(); n > 0 {
transport.go#L2378: if br.Buffered() != 0 {
transport.go#L2397: if n := b.br.Buffered(); len(p) > n {
transport.go#L2401: if b.br.Buffered() == 0 {
net/http/internal
chunked.go#L89: n := cr.r.Buffered()
chunked.go#L100: if n > 0 && cr.r.Buffered() < 2 {
net/textproto
reader.go#L145: if r.R.Buffered() > 1 {
reader.go#L603: s := r.R.Buffered()
nhooyr.io/websocket
accept.go#L147: b, _ := brw.Reader.Peek(brw.Reader.Buffered())
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |