MCPcopy Create free account
hub / github.com/facebook/SoLoader / getu32

Method getu32

java/com/facebook/soloader/MinElf.java:316–319  ·  view source on GitHub ↗
(ElfByteChannel bc, ByteBuffer bb, long offset)

Source from the content-addressed store, hash-verified

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);

Callers 1

Calls 1

readMethod · 0.95

Tested by

no test coverage detected