public short readUnsignedByte() throws IOException {
        return (short) (0xFF & readByte());
    }
Reads an unsigned byte from the input stream. Unlike {@link #read()}, it will
throw {@link IOException} if the input stream has been closed.

@return unsigned byte
@throws IOException when failed to read value from input stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseInputStream.java