toListOfInt8 method

List<int> toListOfInt8()

Converts this bytes to a List of Int8.

Implementation

List<int> toListOfInt8() {
  final byteData = asByteData();
  return List<int>.generate(length, (i) => byteData.getInt8(i));
}