Read a native array of bytes of size arraySize from the given offset from this Pointer.
(long offset, int arraySize)
| 685 | given <code>offset</code> from this {@link Pointer}. |
| 686 | */ |
| 687 | public byte[] getByteArray(long offset, int arraySize) { |
| 688 | byte[] buf = new byte[arraySize]; |
| 689 | read(offset, buf, 0, arraySize); |
| 690 | return buf; |
| 691 | } |
| 692 | |
| 693 | /** Read a native array of wchar_t of size <code>arraySize</code> from the |
| 694 | given <code>offset</code> from this {@link Pointer}. |