MCPcopy Create free account
hub / github.com/Youlor/unpacker / getInt

Method getInt

dexfixer/src/com/android/dx/util/ByteArray.java:144–150  ·  view source on GitHub ↗

Gets the signed int value at a particular offset. @param off >= 0, < (size() - 3); offset to fetch @return signed int at that offset

(int off)

Source from the content-addressed store, hash-verified

142 * @return {@code signed int} at that offset
143 */
144 public int getInt(int off) {
145 checkOffsets(off, off + 4);
146 return (getByte0(off) << 24) |
147 (getUnsignedByte0(off + 1) << 16) |
148 (getUnsignedByte0(off + 2) << 8) |
149 getUnsignedByte0(off + 3);
150 }
151
152 /**
153 * Gets the {@code signed long} value at a particular offset.

Callers 11

codeMethod · 0.95
parseMethod · 0.95
readIntMethod · 0.45
getCodeMethod · 0.45
readIntMethod · 0.45
parse0Method · 0.45
getMagic0Method · 0.45
parseInstructionMethod · 0.45
parseTableswitchMethod · 0.45
parseLookupswitchMethod · 0.45

Calls 3

checkOffsetsMethod · 0.95
getByte0Method · 0.95
getUnsignedByte0Method · 0.95

Tested by

no test coverage detected