same static method
Implementation
static bool same(Uint8List bytes1, Uint8List bytes2) {
if (bytes1.length != bytes2.length) return false;
for (int i = 0; i < bytes1.length; i++) {
if (bytes1[i] != bytes2[i]) return false;
}
return true;
}