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

Method getUnsignedShort

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

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

(int off)

Source from the content-addressed store, hash-verified

187 * @return {@code unsigned short} at that offset
188 */
189 public int getUnsignedShort(int off) {
190 checkOffsets(off, off + 2);
191 return (getUnsignedByte0(off) << 8) | getUnsignedByte0(off + 1);
192 }
193
194 /**
195 * Copies the contents of this instance into the given raw

Callers 15

getCountMethod · 0.95
parseMethod · 0.95
bootstrapMethodsMethod · 0.95
codeMethod · 0.95
constantValueMethod · 0.95
enclosingMethodMethod · 0.95
exceptionsMethod · 0.95
innerClassesMethod · 0.95
lineNumberTableMethod · 0.95
localVariableTableMethod · 0.95
signatureMethod · 0.95

Calls 2

checkOffsetsMethod · 0.95
getUnsignedByte0Method · 0.95

Tested by

no test coverage detected