(byte[] memory, int index)
| 1425 | } |
| 1426 | |
| 1427 | public static int getShort(byte[] memory, int index) { |
| 1428 | int b1 = memory[index]&0xFF; // mask off sign-extended bits |
| 1429 | int b2 = memory[index+1]&0xFF; |
| 1430 | return b1<< (8*1) | b2; |
| 1431 | } |
| 1432 | |
| 1433 | protected static class ObjectList extends ArrayList<Object> { |
| 1434 | } |