MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / BytesBufferPut

Function BytesBufferPut

IceFireDB-SQLite/utils/bytes_buffer_pool.go:29–35  ·  view source on GitHub ↗
(data *bytes.Buffer)

Source from the content-addressed store, hash-verified

27}
28
29func BytesBufferPut(data *bytes.Buffer) {
30 select {
31 case bytesBufferChan <- data:
32 default:
33 bytesBufferPool.Put(data)
34 }
35}

Callers 1

ReadPacketReuseMemMethod · 0.92

Calls 1

PutMethod · 0.45

Tested by

no test coverage detected