Saturday, 15 August 2015

java - Save byte array as .class -


I am using ASM to replace Java class Instead of loading the byte array in memory, I would like to save the resulting byte array in the .class file. ASM manual says that this is possible, but does not give an example. how can I do this?

Just open a file-output stream , in Type the byte array and type close .

No comments:

Post a Comment