well-goknown/vendor/github.com/gobwas/pool/pbufio/pbufio_go110.go

14 lines
171 B
Go

// +build go1.10
package pbufio
import "bufio"
func writerSize(bw *bufio.Writer) int {
return bw.Size()
}
func readerSize(br *bufio.Reader) int {
return br.Size()
}