public static void writeString(OutputStream output, byte[] value) throws IOException {
        writeVarInt(output, value.length);
        output.write(value);
    }
Writes a binary string to given output stream.

@param output non-null output stream
@param value  non-null byte array
@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