Actually I got it work.
sw.writeShort(Short.reverseBytes( (
short ) 100)); //id
Thanks!
Type: Posts; User: fzr600
Actually I got it work.
sw.writeShort(Short.reverseBytes( (
short ) 100)); //id
Thanks!
How would I do the following in Java?
sw.Write(Convert.ToInt16(100));
I've tried:
sw.writeShort(100);
But it seems to order the bits wrong.
Thanks,