MCPcopy Index your code
hub / github.com/processing/processing / putByteArray

Method putByteArray

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

Source from the content-addressed store, hash-verified

2363
2364
2365 protected static void putByteArray(ByteBuffer buf, byte[] arr) {
2366 if (!buf.hasArray() || buf.array() != arr) {
2367 buf.position(0);
2368 buf.put(arr);
2369 buf.rewind();
2370 }
2371 }
2372
2373
2374 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