MCPcopy Index your code
hub / github.com/benfry/processing4 / putByteArray

Method putByteArray

core/src/processing/opengl/PGL.java:2423–2429  ·  view source on GitHub ↗
(ByteBuffer buf, byte[] arr)

Source from the content-addressed store, hash-verified

2421
2422
2423 protected static void putByteArray(ByteBuffer buf, byte[] arr) {
2424 if (!buf.hasArray() || buf.array() != arr) {
2425 buf.position(0);
2426 buf.put(arr);
2427 buf.rewind();
2428 }
2429 }
2430
2431
2432 protected static void fillByteBuffer(ByteBuffer buf, int i0, int i1,

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected