(ElfByteChannel bc, ByteBuffer bb, long offset)
| 314 | } |
| 315 | |
| 316 | private static long getu32(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException { |
| 317 | read(bc, bb, 4, offset); |
| 318 | return bb.getInt() & 0xFFFFFFFFL; // signed -> unsigned |
| 319 | } |
| 320 | |
| 321 | private static int getu16(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException { |
| 322 | read(bc, bb, 2, offset); |
no test coverage detected