operator > method

bool operator >(
  1. Bytes other
)

Implementation

bool operator >(Bytes other) {
  final minLength = min(other.length, length);
  if (minLength == 0) {
    return other.length == minLength;
  }

  for (var i = 0; i < min(other.length, length); i++) {
    if (!(this[i] == other[i])) {
      return this[i] > other[i];
    }
  }
  return false;
}