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

Method getIntArray

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

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

(long offset, int arraySize)

Source from the content-addressed store, hash-verified

712 given <code>offset</code> from this {@link Pointer}.
713 */
714 public int[] getIntArray(long offset, int arraySize) {
715 int[] buf = new int[arraySize];
716 read(offset, buf, 0, arraySize);
717 return buf;
718 }
719
720 /** Read a native array of int64 of size <code>arraySize</code> from the
721 given <code>offset</code> from this {@link Pointer}.

Callers 9

testDataTypesMethod · 0.95
getContentWindowMethod · 0.95
toPrimitiveArrayMethod · 0.95
testSysctlMethod · 0.80
testHostProcessorInfoMethod · 0.80
getRgdispidNamedArgsMethod · 0.80
getValueMethod · 0.80
getScreenshotMethod · 0.80
getSubwindowsMethod · 0.80

Calls 1

readMethod · 0.95

Tested by 3

testDataTypesMethod · 0.76
testSysctlMethod · 0.64
testHostProcessorInfoMethod · 0.64