Indirect the native pointer to malloc space, a la Pointer.setLong . 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#setLong
(long offset, long value)
| 678 | * @see Pointer#setLong |
| 679 | */ |
| 680 | @Override |
| 681 | public void setLong(long offset, long value) { |
| 682 | boundsCheck(offset, 8); |
| 683 | super.setLong(offset, value); |
| 684 | } |
| 685 | |
| 686 | /** |
| 687 | * Indirect the native pointer to <code>malloc</code> space, a la |