tail method

Uint8List tail(
  1. int length
)

The tail of this Uint8List instance.

Implementation

Uint8List tail(int length) {
  var myLength = this.length;
  if (myLength == length) {
    return this;
  } else if (length > myLength) {
    length = myLength;
  }

  return sublist(myLength - length, myLength);
}