operator | method
Bitwise OR operation.
Implementation
Byte operator |(Byte other) {
if (!isSingleByte || !other.isSingleByte) {
throw NoGuaranteeException('Bitwise operations only supported for single bytes');
}
return Byte(_bytes[0] | other._bytes[0]);
}