(byte[] memory, int index)
| 1394 | } |
| 1395 | |
| 1396 | public static int getShort(byte[] memory, int index) { |
| 1397 | int b1 = memory[index]&0xFF; // mask off sign-extended bits |
| 1398 | int b2 = memory[index+1]&0xFF; |
| 1399 | return b1<<(8*1) | b2; |
| 1400 | } |
| 1401 | |
| 1402 | protected static class ObjectList extends ArrayList<Object> { |
| 1403 | } |