code: public static void writeClass(String fileName, byte[] bytes) throws IOException {
        try (BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(fileName))) {
           out.write(bytes);
        }
     }
docs: Write all class bytes to a file.
  
  @param fileName file where the bytes will be written
  @param bytes bytes representing the class
  @throws IOException if we fail to write the class