MCPcopy
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
231func newWB() *kafkaWriteBuffer {
232 res := kafkaWriteBuffer{}
233 res.writeBuffer.w = &res.buf
234 return &res
235}
236
237func (f *kafkaWriteBuffer) Bytes() []byte {
238 return f.buf.Bytes()

Callers 4

bytesMethod · 0.85
bytesMethod · 0.85
bytesMethod · 0.85
bytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected