operator == method
Content equality (O(n)).
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! Bytes || other._length != _length) return false;
for (var i = 0; i < _length; i++) {
if (_buffer[_offset + i] != other._buffer[other._offset + i]) {
return false;
}
}
return true;
}