Read a native array of int16 of size arraySize from the given offset from this Pointer.
(long offset, int arraySize)
| 703 | given <code>offset</code> from this {@link Pointer}. |
| 704 | */ |
| 705 | public short[] getShortArray(long offset, int arraySize) { |
| 706 | short[] buf = new short[arraySize]; |
| 707 | read(offset, buf, 0, arraySize); |
| 708 | return buf; |
| 709 | } |
| 710 | |
| 711 | /** Read a native array of int32 of size <code>arraySize</code> from the |
| 712 | given <code>offset</code> from this {@link Pointer}. |