public static void dumpClass ( String file , byte [ ] bytes ) { File f = new File ( file ) ; try { FileOutputStream fos = new FileOutputStream ( f ) ; fos . write ( bytes ) ; fos . flush ( ) ; fos . close ( ) ; } catch ( IOException ioe ) { ioe . printStackTrace ( ) ; } }
Dump some bytes into the specified file .