(ElfByteChannel bc, ByteBuffer bb, long offset)
| 279 | } |
| 280 | |
| 281 | private static String getSz(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException { |
| 282 | StringBuilder sb = new StringBuilder(); |
| 283 | short b; |
| 284 | while ((b = getu8(bc, bb, offset++)) != 0) { |
| 285 | sb.append((char) b); |
| 286 | } |
| 287 | |
| 288 | return sb.toString(); |
| 289 | } |
| 290 | |
| 291 | private static void read(ElfByteChannel bc, ByteBuffer bb, int sz, long offset) |
| 292 | throws IOException { |
no test coverage detected