Indirect the native pointer as a pointer to short . This is equivalent to the expression ((jshort )((char )Pointer + offset)) . @param offset byte offset from pointer to perform the indirection @return the short value being pointed to
(long offset)
| 565 | * @return the <code>short</code> value being pointed to |
| 566 | */ |
| 567 | public short getShort(long offset) { |
| 568 | return Native.getShort(this, this.peer, offset); |
| 569 | } |
| 570 | |
| 571 | /** |
| 572 | * Indirect the native pointer as a pointer to <code>int</code>. This is |