@Override
    public int intValue() {
        return value >= 0 ? value : 0xFFFF & value;
    }
Returns an {@code UnsignedShort} whose value is {@code (this % val)}.

@param val value by which this unsigned short is to be divided, and the
           remainder computed
@return {@code this % val}
@throws ArithmeticException if {@code val} is null or zero.
clickhouse-data/src/main/java/com/clickhouse/data/value/UnsignedShort.java