MCPcopy Create free account
hub / github.com/IBM/sarama / encode

Method encode

fetch_response.go:57–64  ·  view source on GitHub ↗
(pe packetEncoder)

Source from the content-addressed store, hash-verified

55type fetchRecordsSet []*Records
56
57func (r fetchRecordsSet) encode(pe packetEncoder) error {
58 for _, records := range r {
59 if err := records.encode(pe); err != nil {
60 return err
61 }
62 }
63 return nil
64}
65
66type FetchResponseBlock struct {
67 // Err contains the error code, or 0 if there was no fetch error.

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.65

Tested by

no test coverage detected