subView method

Uint8List subView([
  1. int offset = 0,
  2. int? length
])

A sub Uint8List view of region.

Implementation

Uint8List subView([int offset = 0, int? length]) {
  length ??= this.length - offset;
  return buffer.asUint8List(offset, length);
}