Indirect the native pointer to malloc space, a la Pointer.getLong . But this method performs a bounds checks to ensure that the indirection does not cause memory outside the malloc ed space to be accessed. @see Pointer#getLong(long)
(long offset)
| 526 | * @see Pointer#getLong(long) |
| 527 | */ |
| 528 | @Override |
| 529 | public long getLong(long offset) { |
| 530 | boundsCheck(offset, 8); |
| 531 | return super.getLong(offset); |
| 532 | } |
| 533 | |
| 534 | /** |
| 535 | * Indirect the native pointer to <code>malloc</code> space, a la |