subViewTail method

Uint8List subViewTail(
  1. int tailLength
)

A sub Uint8List view of the tail.

Implementation

Uint8List subViewTail(int tailLength) {
  var length = this.length;
  var offset = length - tailLength;
  var lng = length - offset;
  return subView(offset, lng);
}