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

Method setShort

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

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

(long offset, short value)

Source from the content-addressed store, hash-verified

1003 * @param value <code>short</code> value to set
1004 */
1005 public void setShort(long offset, short value) {
1006 Native.setShort(this, this.peer, offset, value);
1007 }
1008
1009 /**
1010 * Set <code>value</code> at location being pointed to. This is equivalent

Callers 2

createBitmapMethod · 0.95
setValueMethod · 0.95

Calls 1

setShortMethod · 0.95

Tested by

no test coverage detected