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

Method readInt

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

Reads a signed int 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 offset of the value to be read in #b. @return the read value.

(final int offset)

Source from the content-addressed store, hash-verified

3336 * @return the read value.
3337 */
3338 public int readInt(final int offset) {
3339 byte[] classFileBuffer = b;
3340 return ((classFileBuffer[offset] & 0xFF) << 24)
3341 | ((classFileBuffer[offset + 1] & 0xFF) << 16)
3342 | ((classFileBuffer[offset + 2] & 0xFF) << 8)
3343 | (classFileBuffer[offset + 3] & 0xFF);
3344 }
3345
3346 /**
3347 * Reads a signed long value in {@link #b}. <i>This method is intended for {@link Attribute} sub

Callers 12

ClassReaderMethod · 0.95
acceptMethod · 0.95
readFieldMethod · 0.95
readMethodMethod · 0.95
readCodeMethod · 0.95
readTypeAnnotationsMethod · 0.95
readElementValueMethod · 0.95
readLongMethod · 0.95
readConstMethod · 0.95
SymbolTableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected