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

Method getByteArray

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

Source from the content-addressed store, hash-verified

2354
2355
2356 protected static void getByteArray(ByteBuffer buf, byte[] arr) {
2357 if (!buf.hasArray() || buf.array() != arr) {
2358 buf.position(0);
2359 buf.get(arr);
2360 buf.rewind();
2361 }
2362 }
2363
2364
2365 protected static void putByteArray(ByteBuffer buf, byte[] arr) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
arrayMethod · 0.45

Tested by

no test coverage detected