public long writeString(final String name,
                            final String string) throws IOException {
        return writeStream(
                new ZipArchiveEntry(name),
                new ByteArrayInputStream(string.getBytes(StandardCharsets.UTF_8)));
    }
@return The number of bytes read.
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/handler/ZipWriter.java