func (t *OffsetsInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) t.ErrorCode.Marshal(w) w.WriteInt32(int32(len(t.Offsets))) for i := range t.Offsets { w.WriteInt64(t.Offsets[i]) } }
func (t *OffsetCommitRequestV2) Marshal(w *wipro.Writer) { w.WriteString(t.ConsumerGroup) w.WriteInt32(t.ConsumerGroupGenerationID) w.WriteString(t.ConsumerID) w.WriteInt64(t.RetentionTime) w.WriteInt32(int32(len(t.OffsetCommitInTopicV2s))) for i := range t.OffsetCommitInTopicV2s { t.OffsetCommitInTopicV2s[i].Marshal(w) } }
func (t *OffsetMetadataInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) w.WriteInt64(t.Offset) w.WriteString(t.Metadata) t.ErrorCode.Marshal(w) }
func (t *OffsetMessage) Marshal(w *wipro.Writer) { w.WriteInt64(t.Offset) t.SizedMessage.Marshal(w) }
func (t *OffsetCommitInPartitionV2) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) w.WriteInt64(t.Offset) w.WriteString(t.Metadata) }
func (t *TimeInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) w.WriteInt64(t.Time) w.WriteInt32(t.MaxNumberOfOffsets) }
func (t *FetchMessageSetInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) t.ErrorCode.Marshal(w) w.WriteInt64(t.HighwaterMarkOffset) t.MessageSet.Marshal(w) }
func (t *FetchOffsetInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) w.WriteInt64(t.FetchOffset) w.WriteInt32(t.MaxBytes) }
func (t *OffsetInPartition) Marshal(w *wipro.Writer) { w.WriteInt32(t.Partition) t.ErrorCode.Marshal(w) w.WriteInt64(t.Offset) }