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

Method setPointer

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

Set value at location being pointed to. This is equivalent to the expression ((void )((char )Pointer + offset)) = value . @param offset byte offset from pointer at which value must be set @param value Pointer holding the actual poin

(long offset, Pointer value)

Source from the content-addressed store, hash-verified

1100 * pointer.
1101 */
1102 public void setPointer(long offset, Pointer value) {
1103 Native.setPointer(this, this.peer, offset, value != null ? value.peer : 0);
1104 }
1105
1106 /**
1107 * Copy string <code>value</code> to the location being pointed to as a

Callers 2

writeMethod · 0.95
setValueMethod · 0.95

Calls 1

setPointerMethod · 0.95

Tested by

no test coverage detected