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

Method getString

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

Copy native memory to a Java String. The encoding used is obtained form Native#getDefaultStringEncoding(). @param offset byte offset from pointer to start reading bytes @return the String value being pointed to

(long offset)

Source from the content-addressed store, hash-verified

667 * @return the <code>String</code> value being pointed to
668 */
669 public String getString(long offset) {
670 return getString(offset, Native.getDefaultStringEncoding());
671 }
672
673 /**
674 * Copy native memory to a Java String using the requested encoding.

Callers 9

testMmapToShmMethod · 0.95
testCreateFileMappingMethod · 0.95
testOpenFileMappingMethod · 0.95
getValueMethod · 0.95
readFieldMethod · 0.95
getValueMethod · 0.95
getStringArrayMethod · 0.95
readMethod · 0.95
invokeStringMethod · 0.95

Calls 2

getStringMethod · 0.95

Tested by 3

testMmapToShmMethod · 0.76
testCreateFileMappingMethod · 0.76
testOpenFileMappingMethod · 0.76