MCPcopy Create free account
hub / github.com/cinit/TMoe / readLe32

Method readLe32

app/src/main/java/cc/ioctl/tmoe/util/dex/DexFlow.java:519–522  ·  view source on GitHub ↗
(byte[] buf, int index)

Source from the content-addressed store, hash-verified

517 }
518
519 public static int readLe32(byte[] buf, int index) {
520 return buf[index] & 0xFF | (buf[index + 1] << 8) & 0xff00
521 | (buf[index + 2] << 16) & 0xff0000 | (buf[index + 3] << 24) & 0xff000000;
522 }
523
524 public static int readLe16(byte[] buf, int off) {
525 return (buf[off] & 0xFF) | ((buf[off + 1] << 8) & 0xff00);

Callers 10

getDeclaredDexMethodsMethod · 0.95
guessNewInstanceTypeMethod · 0.95
hasClassInDexMethod · 0.95
readStringMethod · 0.95
readTypeMethod · 0.95
readFieldMethod · 0.95
readProtoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected