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

Method getStringArray

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

Returns an array of String based on a native array of char . The array length is determined by a NULL-valued terminating element. The strings are decoded using the encoding returned by Native#getDefaultStringEncoding().

(long offset)

Source from the content-addressed store, hash-verified

774 * Native#getDefaultStringEncoding()}.
775 */
776 public String[] getStringArray(long offset) {
777 return getStringArray(offset, -1, Native.getDefaultStringEncoding());
778 }
779
780 /** Returns an array of <code>String</code> based on a native array
781 * of <code>char *</code>, using the requested encoding. The array length

Callers 9

getWideStringArrayMethod · 0.95
invokeMethod · 0.95
getValueMethod · 0.80
getRgpszUsageIdentierMethod · 0.80
getValueMethod · 0.80
testGetStringArrayMethod · 0.80
convertArgumentMethod · 0.80

Calls 7

getPointerMethod · 0.95
getWideStringMethod · 0.95
getStringMethod · 0.95
equalsMethod · 0.45
addMethod · 0.45
toArrayMethod · 0.45

Tested by 3

testGetStringArrayMethod · 0.64