Indirect the native pointer as a pointer to long . This is equivalent to the expression ((long )((char )Pointer + offset)) . @param offset byte offset from pointer to perform the indirection @return the long value being pointed to
(long offset)
| 601 | * @return the <code>long</code> value being pointed to |
| 602 | */ |
| 603 | public NativeLong getNativeLong(long offset) { |
| 604 | return new NativeLong(NativeLong.SIZE == 8 ? getLong(offset) : getInt(offset)); |
| 605 | } |
| 606 | |
| 607 | /** |
| 608 | * Indirect the native pointer as a pointer to <code>float</code>. This is |