MCPcopy
hub / github.com/segmentio/kafka-go / writeTo

Method writeTo

offsetcommit.go:284–286  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

282}
283
284func (t offsetCommitResponseV2) writeTo(wb *writeBuffer) {
285 wb.writeArray(len(t.Responses), func(i int) { t.Responses[i].writeTo(wb) })
286}
287
288func (t *offsetCommitResponseV2) readFrom(r *bufio.Reader, size int) (remain int, err error) {
289 fn := func(r *bufio.Reader, withSize int) (fnRemain int, fnErr error) {

Callers 1

Calls 2

writeArrayMethod · 0.80
writeToMethod · 0.65

Tested by 1