public static byte[] createZip(Map<String, byte[]> entryMap) throws IOException {
		return createZip(zos -> {
			for (Map.Entry<String, byte[]> entry : entryMap.entrySet()) {
				zos.putNextEntry(new ZipEntry(entry.getKey()));
				zos.write(entry.getValue());
				zos.closeEntry();
			}
		});
	}
@param entryMap
		Map of entry name --> contents.

@return ZIP bytes, containing given entries.

@throws IOException
		When the content cannot be written.
recaf-core/src/main/java/software/coley/recaf/util/ZipCreationUtils.java