addBytes method
Adds value of Kafka-specific Bytes type to this builder.
Kafka Bytes type starts with int32 indicating size of the value following by actual value bytes.
Implementation
void addBytes(List<int>? value) {
if (value == null) {
addInt32(-1);
} else {
addInt32(value.length);
_builder.add(value);
}
}