BufferedOutputStream bos = out instanceof BufferedOutputStream ? (BufferedOutputStream) out : new BufferedOutputStream(out, 4096); write_main_section(getMainAttributes(), bos); bos.write(CRLF); write_individual_sections(getEntries(), bos); bos.flush();
JarUtils.writeMFManifest(getMainAttributes(), getEntries(), out);
  public void write(OutputStream out) throws IOException  {    BufferedOutputStream bos = out instanceof BufferedOutputStream                               ? (BufferedOutputStream) out                               : new BufferedOutputStream(out, 4096);    write_main_section(getMainAttributes(), bos);    bos.write(CRLF);    write_individual_sections(getEntries(), bos);    bos.flush();	}