operator % method
Modulo operation of two Byte values.
Implementation
Byte operator %(Byte other) {
if (!isSingleByte || !other.isSingleByte) {
throw NoGuaranteeException('Arithmetic operations only supported for single bytes');
}
return Byte(_bytes[0] % other._bytes[0]);
}