S
Spendius
Hi,
I searched, but to no avail: I just want to transform
for ex. the array:
('rMap.get()' being the retrieving of values from a
binary file) into an integer value (say if -in hex. notation-
I have b[0] == ab and b[1] == 8f the call to a function
toInt(byte[] b) would return 43919:
# j is equal to 43919
Thanks...
Spendius
I searched, but to no avail: I just want to transform
for ex. the array:
byte[] b = new byte[2];
for (k=0; k<2; k++) b[k] = rMap.get();
int j = toInt(b);
System.out.println("j is equal to "+j);
('rMap.get()' being the retrieving of values from a
binary file) into an integer value (say if -in hex. notation-
I have b[0] == ab and b[1] == 8f the call to a function
toInt(byte[] b) would return 43919:
# j is equal to 43919
Thanks...
Spendius