MCPcopy
hub / github.com/mochi-mqtt/server / BufferWithCap

Struct BufferWithCap

mempool/bufpool.go:57–60  ·  view source on GitHub ↗

BufferWithCap is a Buffer pool that

Source from the content-addressed store, hash-verified

55
56// BufferWithCap is a Buffer pool that
57type BufferWithCap struct {
58 bp *Buffer
59 max int
60}
61
62func newBufferWithCap(max int) *BufferWithCap {
63 return &BufferWithCap{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected