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

Method readFrom

saslauthenticate.go:16–18  ·  view source on GitHub ↗
(r *bufio.Reader, sz int)

Source from the content-addressed store, hash-verified

14}
15
16func (t *saslAuthenticateRequestV0) readFrom(r *bufio.Reader, sz int) (remain int, err error) {
17 return readBytes(r, sz, &t.Data)
18}
19
20func (t saslAuthenticateRequestV0) writeTo(wb *writeBuffer) {
21 wb.writeBytes(t.Data)

Callers

nothing calls this directly

Calls 1

readBytesFunction · 0.85

Tested by

no test coverage detected