Hi all,
I'm trying to get back into Java again after a decent period away. I'm currently working on creating a very basic virus searching program. For this to work I need to create a class that is able to take an input stream from a given file and convert this to its binary representation. I am then going to shift it to Hex to make it more readable. This can then be used to scan for any virus signatures I have in my database. I've been experimenting with the different input streams Java provides but am having difficulties figuring out which one would be best.
If anyone can provide me with a pointer in the right direction for which inbuilt Java input streams I should be using or if there is any example code for this.
Thanks,
Neil.