module doc_reform.io_out.create_zip_file; template createZipFile() { import std.file, std.outbuffer, std.string, std.zip; @safe void createZipFile( string zip_file_name, void[] compressed_zip_data, ) { try { write(zip_file_name, compressed_zip_data); } catch (ZipException ex) { // Handle Errors } } }