Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ releaseBuffer
Function
releaseBuffer
buffer.go:22–27 ·
view source on GitHub ↗
(b *bytes.Buffer)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
releaseBuffer(b *bytes.Buffer) {
23
if
b != nil {
24
b.Reset()
25
bufferPool.Put(b)
26
}
27
}
Callers
5
close
Method · 0.85
compressRecordBatch
Function · 0.85
writeTo
Method · 0.85
writeProduceRequestV2
Method · 0.85
compressMessageSet
Function · 0.85
Calls
2
Put
Method · 0.80
Reset
Method · 0.45
Tested by
no test coverage detected