Indirect the native pointer to malloc space, a la Pointer.setInt . 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#setInt
(long offset, int value)
| 664 | * @see Pointer#setInt |
| 665 | */ |
| 666 | @Override |
| 667 | public void setInt(long offset, int value) { |
| 668 | boundsCheck(offset, 4); |
| 669 | super.setInt(offset, value); |
| 670 | } |
| 671 | |
| 672 | /** |
| 673 | * Indirect the native pointer to <code>malloc</code> space, a la |