S
Spendius
Hi,
I'm reading a binary file, in which I know that at a certain
index I'll be reading integer numbers. Everything works
fine until a certain point where i encouter 0xE8, and I'm
returned -24 instead of 232.
The function I use is the following:
public static int getIntValue(short b)
{
return (int)b;
}
How come it doesn't work for 0xE8 ??
Thanks.
I'm reading a binary file, in which I know that at a certain
index I'll be reading integer numbers. Everything works
fine until a certain point where i encouter 0xE8, and I'm
returned -24 instead of 232.
The function I use is the following:
public static int getIntValue(short b)
{
return (int)b;
}
How come it doesn't work for 0xE8 ??
Thanks.