Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ newWB
Function
newWB
builder_test.go:231–235 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
229
}
230
231
func
newWB() *kafkaWriteBuffer {
232
res := kafkaWriteBuffer{}
233
res.writeBuffer.w = &res.buf
234
return
&res
235
}
236
237
func
(f *kafkaWriteBuffer) Bytes() []byte {
238
return
f.buf.Bytes()
Callers
4
bytes
Method · 0.85
bytes
Method · 0.85
bytes
Method · 0.85
bytes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected