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

Method encode

fetch_response.go:36–43  ·  view source on GitHub ↗
(pe packetEncoder)

Source from the content-addressed store, hash-verified

34}
35
36func (t *AbortedTransaction) encode(pe packetEncoder) (err error) {
37 pe.putInt64(t.ProducerID)
38 pe.putInt64(t.FirstOffset)
39
40 pe.putEmptyTaggedFieldArray()
41
42 return nil
43}
44
45type FetchResponseDivergingEpoch struct {
46 Epoch int32

Callers

nothing calls this directly

Calls 2

putInt64Method · 0.65

Tested by

no test coverage detected