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

Method getu8

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

Source from the content-addressed store, hash-verified

324 }
325
326 private static short getu8(ElfByteChannel bc, ByteBuffer bb, long offset) throws IOException {
327 read(bc, bb, 1, offset);
328 return (short) (bb.get() & 0xFF); // signed -> unsigned
329 }
330
331 @DoNotStripAny
332 protected static class ElfError extends UnsatisfiedLinkError {

Callers 2

getSzMethod · 0.95

Calls 2

readMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected