void commitTo(final OutputStream outStream) {
		try {
			final DataOutputStream out = new DataOutputStream(outStream);

			writeHeader(out);
			writeConstantPool(out);
			writeAccessFlags(out);
			writeClassInfo(out);
			writeFields(out, null);
			writeMethods(out, null);
			writeAttributes(out);

			out.close();

		} catch (final IOException e) {
			e.printStackTrace();
			System.exit(1);
		}
	}