operator ~/ method

Byte operator ~/(
  1. Byte other
)

Integer division 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]);
}