(int size)
| 2356 | |
| 2357 | |
| 2358 | protected static ByteBuffer allocateByteBuffer(int size) { |
| 2359 | if (USE_DIRECT_BUFFERS) { |
| 2360 | return allocateDirectByteBuffer(size); |
| 2361 | } else { |
| 2362 | return ByteBuffer.allocate(size); |
| 2363 | } |
| 2364 | } |
| 2365 | |
| 2366 | |
| 2367 | protected static ByteBuffer allocateByteBuffer(byte[] arr) { |
no test coverage detected