(IntBuffer buf, int[] arr)
| 2596 | |
| 2597 | |
| 2598 | protected static void getIntArray(IntBuffer buf, int[] arr) { |
| 2599 | if (!buf.hasArray() || buf.array() != arr) { |
| 2600 | buf.position(0); |
| 2601 | buf.get(arr); |
| 2602 | buf.rewind(); |
| 2603 | } |
| 2604 | } |
| 2605 | |
| 2606 | |
| 2607 | protected static void putIntArray(IntBuffer buf, int[] arr) { |
no test coverage detected