public void writeTo ( OutputStream out ) throws IOException { if ( ! ( out instanceof DataOutput ) ) { out = new DataOutputStream ( out ) ; } writeTo ( ( DataOutput ) out ) ; out . flush ( ) ; }
Writes the ClassFile to the given OutputStream . When finished the stream is flushed but not closed .