Home | History | Annotate | Download | only in bufio

Lines Matching full:buffered

5 // Package bufio implements buffered I/O.  It wraps an io.Reader or io.Writer
28 // Buffered input.
65 // Reset discards any buffered data, resets all state, and switches
66 // the buffered reader to read from r.
152 // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
163 skip := b.Buffered()
166 skip = b.Buffered()
300 // Buffered returns the number of bytes that can be read from the current buffer.
301 func (b *Reader) Buffered() int { return b.w - b.r }
331 if b.Buffered() >= len(b.buf) {
512 // buffered output
550 // Reset discards any unflushed buffered data, clears any error, and
558 // Flush writes any buffered data to the underlying io.Writer.
585 // Buffered returns the number of bytes that have been written into the current buffer.
586 func (b *Writer) Buffered() int { return b.n }
595 if b.Buffered() == 0 {
682 if b.Buffered() == 0 {
722 // buffered input and output