isOddParity_(byte) {
    let parity = 0;
    while (byte) {
      parity ^= (byte & 1); // toggle parity if low bit is 1
      byte >>= 1; // shift away the low bit
    }
    return parity === 1;
  }
Checks if a byte has odd parity (Odd number of 1s in binary).
@param {number} byte
@return {boolean} True if the byte has odd parity.
@private