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

Method size

deletetopics.go:142–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140}
141
142func (t deleteTopicsResponseV0TopicErrorCode) size() int32 {
143 return sizeofString(t.Topic) +
144 sizeofInt16(t.ErrorCode)
145}
146
147func (t *deleteTopicsResponseV0TopicErrorCode) readFrom(r *bufio.Reader, size int) (remain int, err error) {
148 if remain, err = readString(r, size, &t.Topic); err != nil {

Callers

nothing calls this directly

Calls 2

sizeofStringFunction · 0.85
sizeofInt16Function · 0.85

Tested by

no test coverage detected