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

Method readFrom

heartbeat.go:104–109  ·  view source on GitHub ↗
(r *bufio.Reader, sz int)

Source from the content-addressed store, hash-verified

102}
103
104func (t *heartbeatResponseV0) readFrom(r *bufio.Reader, sz int) (remain int, err error) {
105 if remain, err = readInt16(r, sz, &t.ErrorCode); err != nil {
106 return
107 }
108 return
109}

Callers

nothing calls this directly

Calls 1

readInt16Function · 0.70

Tested by

no test coverage detected