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