asInt8List abstract method
Creates a Int8List view of a region of this byte buffer.
The view is backed by the bytes of this byte buffer.
Any changes made to the
Int8List will also change the buffer,
and vice versa.
The viewed region start at
offsetInBytes and contains
length is omitted, the range extends to the end of the buffer.
The start index and length must describe a valid range of the buffer:
offsetInBytesmust not be negative,
lengthmust not be negative, and
offsetInBytes + lengthmust not be greater than lengthInBytes.
Int8List asInt8List([int offsetInBytes = 0, int? length]);