equalUint8List function
Returns true if x
and y
are equivalent.
Implementation
bool equalUint8List(Uint8List x, Uint8List y) {
if (x.length != y.length) return false;
for (int i = 0; i < x.length; ++i) {
if (x[i] != y[i]) return false;
}
return true;
}