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

Method getDoubleArray

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

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

(long offset, int arraySize)

Source from the content-addressed store, hash-verified

739 given <code>offset</code> from this {@link Pointer}.
740 */
741 public double[] getDoubleArray(long offset, int arraySize) {
742 double[] buf = new double[arraySize];
743 read(offset, buf, 0, arraySize);
744 return buf;
745 }
746
747 /** Returns an array of {@link Pointer}. The array length is
748 * determined by a NULL-valued terminating element.

Callers 3

testDataTypesMethod · 0.95
toPrimitiveArrayMethod · 0.95
getValueMethod · 0.80

Calls 1

readMethod · 0.95

Tested by 1

testDataTypesMethod · 0.76