I am trying to read a hexadecimal file from java code. All I want is pick the hex values and save it in a String (or any other format) , without convert them. I've already tried with a BufferedReader
, and saving the values in a StringBuilder
, but I don't know why the values are automatically converted in decimal values when I use StringBuilder.toString()
method.
Any suggestion ?