checkUint8 function
Implementation
void checkUint8(int i) {
if (i < 0 || i > 0xff) {
throw ArgumentError.value(i, 'value', 'Not a uint8');
}
}
void checkUint8(int i) {
if (i < 0 || i > 0xff) {
throw ArgumentError.value(i, 'value', 'Not a uint8');
}
}