operator >> method

Byte operator >>(
  1. int shiftAmount
)

Right shift operation.

Implementation

Byte operator >>(int shiftAmount) {
  if (!isSingleByte) {
    throw NoGuaranteeException('Shift operations only supported for single bytes');
  }
  return Byte(_bytes[0] >> shiftAmount);
}