MCPcopy Index your code
hub / github.com/clojure/clojure / readUnsignedShort

Method readUnsignedShort

src/jvm/clojure/asm/ClassReader.java:3314–3317  ·  view source on GitHub ↗

Reads an unsigned short value in #b. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters. @param offset the start index of the value to be read in #b. @return the read value.

(final int offset)

Source from the content-addressed store, hash-verified

3312 * @return the read value.
3313 */
3314 public int readUnsignedShort(final int offset) {
3315 byte[] classFileBuffer = b;
3316 return ((classFileBuffer[offset] & 0xFF) << 8) | (classFileBuffer[offset + 1] & 0xFF);
3317 }
3318
3319 /**
3320 * Reads a signed short value in {@link #b}. <i>This method is intended for {@link Attribute} sub

Callers 15

ClassReaderMethod · 0.95
getAccessMethod · 0.95
getInterfacesMethod · 0.95
acceptMethod · 0.95
readModuleMethod · 0.95
readFieldMethod · 0.95
readMethodMethod · 0.95
readCodeMethod · 0.95
readTypeAnnotationsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected