Provide a view of this memory using the given offset as the base address. The returned Pointer will have a size equal to that of the original minus the offset. @throws IndexOutOfBoundsException if the requested memory is outside the allocated bounds.
(long offset)
| 134 | * the allocated bounds. |
| 135 | */ |
| 136 | @Override |
| 137 | public Pointer share(long offset) { |
| 138 | return share(offset, size() - offset); |
| 139 | } |
| 140 | |
| 141 | /** Provide a view of this memory using the given offset as the base |
| 142 | * address, bounds-limited with the given size. Maintains a reference to |