public static short readUnsignedInt8(ClickHouseInputStream input) throws IOException {
        return (short) (input.readByte() & 0xFF);
    }
Read an unsigned byte as short from given input stream.

@param input non-null input stream
@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/format/BinaryStreamUtils.java