Nvm I found the answer, DataInputStream lets you read all data types including unsigned values. Except I still don't know how to handle big-endian little-endianess.
Type: Posts; User: username9000
Nvm I found the answer, DataInputStream lets you read all data types including unsigned values. Except I still don't know how to handle big-endian little-endianess.
I tried this but it only seems to read the number as the ascii representation not the actual value, ie. it reads 0x3132 as 12 from the ascii character for 0x31 for 2 and the ascii character for 0x32...
FileInputSream, BufferedInputStream
FileReader, BufferedReader
These classes AFAIK only have read methods which return strings, char arrays or byte arrays, or single bytes. The problem is if I...