I want to write a simple java program that reverses all the bytes of a file. It should corrupt the file by encoding and make it accesible after decoding. Is there something I need to be aware of?
I'm asking this because I wrote a program like that in the past and it didn't work, because after decoding the file was still corrupted. Is there something I have to keep in mind like a header portion of the file or something?