src/client/pkg/grpcutil/buffer.go
func NewBufPool(size int) *BufPool {
	return &BufPool{sync.Pool{
		New: func() interface{} { return make([]byte, size) },
	}}
}
func NewBufPool(size int) *BufPool {
	return &BufPool{sync.Pool{
		New: func() interface{} { return make([]byte, size) },
	}}
}
func NewBufPool ( size int ) * BufPool { return & BufPool { sync . Pool { New : func ( ) interface { } { return make ( [ ] byte , size ) } , } } }
// NewBufPool creates a new BufPool that returns buffers of the given size.
NewBufPool creates a new BufPool that returns buffers of the given size .