public static void writeString(OutputStream output, String value) throws IOException {
        writeString(output, value, null);
    }
Write a string to given output stream.

@param output non-null output stream
@param value  string
@throws IOException when failed to write value to output stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/format/BinaryStreamUtils.java