(byte[] memory, int index)
| 134 | |
| 135 | |
| 136 | public static int getShort(byte[] memory, int index) { |
| 137 | int b1 = memory[index]&0xFF; // mask off sign-extended bits |
| 138 | int b2 = memory[index+1]&0xFF; |
| 139 | int word = b1<<(8*1) | b2; |
| 140 | return word; |
| 141 | } |
| 142 | |
| 143 | |
| 144 | public String strings() { |
no outgoing calls
no test coverage detected