KafkaBytesReader.fromBytes constructor

KafkaBytesReader.fromBytes(
  1. List<int> data
)

Creates reader from a list of bytes.

Implementation

KafkaBytesReader.fromBytes(List<int> data) {
  this._data = Int8List.fromList(data);
}