(Window w, int p)
| 149 | } |
| 150 | |
| 151 | private static int get4(Window w, int p) throws IOException { |
| 152 | int offset = w.seek(p, 4); |
| 153 | return |
| 154 | ((w.data[offset + 3] & 0xFF) << 24) | |
| 155 | ((w.data[offset + 2] & 0xFF) << 16) | |
| 156 | ((w.data[offset + 1] & 0xFF) << 8) | |
| 157 | ((w.data[offset ] & 0xFF) ); |
| 158 | } |
| 159 | |
| 160 | private static int directoryOffset(Window w, int p) throws IOException { |
| 161 | return get4(w, p + 16); |
no test coverage detected