(ElfByteChannel bc, ByteBuffer bb, long offset)
| 319 | } |
| 320 | |
| 321 | private static int getu16(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException { |
| 322 | read(bc, bb, 2, offset); |
| 323 | return bb.getShort() & (int) 0xFFFF; // signed -> unsigned |
| 324 | } |
| 325 | |
| 326 | private static short getu8(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException { |
| 327 | read(bc, bb, 1, offset); |
no test coverage detected