@return an unsigned representation of this Integer.
(int aInteger)
| 1231 | |
| 1232 | /** @return an unsigned representation of this Integer. */ |
| 1233 | public static long unsignI(int aInteger) { |
| 1234 | return aInteger < 0 ? aInteger + 4294967296L : aInteger; |
| 1235 | } |
| 1236 | |
| 1237 | public static byte toByteS(short aValue, int aIndex) {return (byte)(aValue >> (aIndex<<3));} |
| 1238 | public static byte toByteI(int aValue, int aIndex) {return (byte)(aValue >> (aIndex<<3));} |