MCPcopy Create free account
hub / github.com/java-native-access/jna / getFloatArray

Method getFloatArray

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

Read a native array of float of size arraySize from the given offset from this Pointer.

(long offset, int arraySize)

Source from the content-addressed store, hash-verified

730 given <code>offset</code> from this {@link Pointer}.
731 */
732 public float[] getFloatArray(long offset, int arraySize) {
733 float[] buf = new float[arraySize];
734 read(offset, buf, 0, arraySize);
735 return buf;
736 }
737
738 /** Read a native array of double of size <code>arraySize</code> from the
739 given <code>offset</code> from this {@link Pointer}.

Callers 3

testDataTypesMethod · 0.95
toPrimitiveArrayMethod · 0.95
getValueMethod · 0.80

Calls 1

readMethod · 0.95

Tested by 1

testDataTypesMethod · 0.76