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

Method getFloat

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

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

(long offset)

Source from the content-addressed store, hash-verified

613 * @return the <code>float</code> value being pointed to
614 */
615 public float getFloat(long offset) {
616 return Native.getFloat(this, this.peer, offset);
617 }
618
619 /**
620 * Indirect the native pointer as a pointer to <code>double</code>. This

Callers 2

testDataTypesMethod · 0.95
getValueMethod · 0.95

Calls 1

getFloatMethod · 0.95

Tested by 1

testDataTypesMethod · 0.76