cloudflared-mirror/vendor/github.com/gobwas/pool/pbufio/pbufio_go110.go

14 lines
171 B
Go
Raw Normal View History

// +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()
}