operator unary- method
Unary minus operator.
Implementation
Byte operator -() {
if (!isSingleByte) {
throw NoGuaranteeException('Unary operations only supported for single bytes');
}
return Byte(-_bytes[0]);
}
Unary minus operator.
Byte operator -() {
if (!isSingleByte) {
throw NoGuaranteeException('Unary operations only supported for single bytes');
}
return Byte(-_bytes[0]);
}