bufio.Writer.Available (method)

12 uses

	bufio (current package)
		bufio.go#L659: func (b *Writer) Available() int { return len(b.buf) - b.n }
		bufio.go#L677: 	for len(p) > b.Available() && b.err == nil {
		bufio.go#L705: 	if b.Available() <= 0 && b.Flush() != nil {
		bufio.go#L727: 	n := b.Available()
		bufio.go#L732: 		n = b.Available()
		bufio.go#L752: 	for len(s) > b.Available() && b.err == nil {
		bufio.go#L791: 		if b.Available() == 0 {
		bufio.go#L821: 		if b.Available() == 0 {

	github.com/coder/websocket
		write.go#L385: 		if c.bw.Available() == 0 {
		write.go#L395: 		j := min(len(p), c.bw.Available())

	net/http
		h2_bundle.go#L3736: 	return w.bw.Available()
		server.go#L887: 	if pool := bufioWriterPool(bw.Available()); pool != nil {