MCPcopy
hub / github.com/grpc/grpc-go / newPooledBuffer

Function newPooledBuffer

mem/buffers_test.go:471–473  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

469}
470
471func newPooledBuffer(data []byte) mem.Buffer {
472 return newBuffer(data, mem.NopBufferPool{})
473}
474
475func newSliceBuf(data []byte) mem.Buffer {
476 return mem.SliceBuffer(data)

Callers

nothing calls this directly

Calls 1

newBufferFunction · 0.70

Tested by

no test coverage detected