I am implementing custom CRC algorithm and I have problem with bit shifts.
For example, this works in Java:
int i = 214502010;
System.out.println(i << 8);
but not in J2ObjC:
runtime error: left shift of 214502010 by 8 places cannot be represented in type 'jint' (aka 'int')
-922060288
Any workaround for this?
Thanks,
Jindrich
--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.