MCPcopy Index your code
hub / github.com/java-native-access/jna / getNativeLong

Method getNativeLong

src/com/sun/jna/Pointer.java:603–605  ·  view source on GitHub ↗

Indirect the native pointer as a pointer to long . This is equivalent to the expression ((long )((char )Pointer + offset)) . @param offset byte offset from pointer to perform the indirection @return the long value being pointed to

(long offset)

Source from the content-addressed store, hash-verified

601 * @return the <code>long</code> value being pointed to
602 */
603 public NativeLong getNativeLong(long offset) {
604 return new NativeLong(NativeLong.SIZE == 8 ? getLong(offset) : getInt(offset));
605 }
606
607 /**
608 * Indirect the native pointer as a pointer to <code>float</code>. This is

Callers 7

getValueMethod · 0.80
getValueMethod · 0.80
getVisualIDMethod · 0.80
testGetNativeLongMethod · 0.80
getValueMethod · 0.80

Calls 2

getLongMethod · 0.95
getIntMethod · 0.95

Tested by 3

testGetNativeLongMethod · 0.64