(IntBuffer buf, int[] arr)
| 2538 | |
| 2539 | |
| 2540 | protected static void getIntArray(IntBuffer buf, int[] arr) { |
| 2541 | if (!buf.hasArray() || buf.array() != arr) { |
| 2542 | buf.position(0); |
| 2543 | buf.get(arr); |
| 2544 | buf.rewind(); |
| 2545 | } |
| 2546 | } |
| 2547 | |
| 2548 | |
| 2549 | protected static void putIntArray(IntBuffer buf, int[] arr) { |
no test coverage detected