toBytes method
Encodes this structure without a request header or network size prefix.
Implementation
List<int> toBytes() => (KafkaBytesBuilder()
..addInt32(partition)
..addInt64(fetchOffset)
..addInt32(partitionMaxBytes))
.takeBytes();