bufio.Writer.n (field)
26 uses
bufio (current package)
bufio.go#L561: n int
bufio.go#L595: b.n = 0
bufio.go#L604: if b.n == 0 {
bufio.go#L607: n, err := b.wr.Write(b.buf[0:b.n])
bufio.go#L608: if n < b.n && err == nil {
bufio.go#L612: if n > 0 && n < b.n {
bufio.go#L613: copy(b.buf[0:b.n-n], b.buf[n:b.n])
bufio.go#L615: b.n -= n
bufio.go#L619: b.n = 0
bufio.go#L624: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L627: func (b *Writer) Buffered() int { return b.n }
bufio.go#L641: n = copy(b.buf[b.n:], p)
bufio.go#L642: b.n += n
bufio.go#L651: n := copy(b.buf[b.n:], p)
bufio.go#L652: b.n += n
bufio.go#L665: b.buf[b.n] = c
bufio.go#L666: b.n++
bufio.go#L694: size = utf8.EncodeRune(b.buf[b.n:], r)
bufio.go#L695: b.n += size
bufio.go#L706: n := copy(b.buf[b.n:], s)
bufio.go#L707: b.n += n
bufio.go#L715: n := copy(b.buf[b.n:], s)
bufio.go#L716: b.n += n
bufio.go#L744: m, err = r.Read(b.buf[b.n:])
bufio.go#L753: b.n += m
![]() |
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. |