(int size)
| 2292 | |
| 2293 | |
| 2294 | protected static ByteBuffer allocateDirectByteBuffer(int size) { |
| 2295 | int bytes = PApplet.max(MIN_DIRECT_BUFFER_SIZE, size) * SIZEOF_BYTE; |
| 2296 | return ByteBuffer.allocateDirect(bytes).order(ByteOrder.nativeOrder()); |
| 2297 | } |
| 2298 | |
| 2299 | |
| 2300 | protected static ByteBuffer allocateByteBuffer(int size) { |
no test coverage detected