equalsRange method
Byte equality with another range.
Implementation
bool equalsRange(Uint8List other, int otherStart, int otherEnd) {
final length = end - start;
if (length != otherEnd - otherStart) return false;
for (var i = 0; i < length; i++) {
if (bytes[start + i] != other[otherStart + i]) return false;
}
return true;
}