Q: If I encrypt my .class files and use a custom classloader to load and decrypt them on the fly, will this prevent decompilation? A: The problem of preventing Java byte-code decompilation is almost ...
Listing 1. Excerpt from the Java DataInputStream class, showing parts of the byte alignment and ordering code, which are extremely slow. The DataOutputStream implementation has a similar problem.