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

Method getByteArray

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

Source from the content-addressed store, hash-verified

2412
2413
2414 protected static void getByteArray(ByteBuffer buf, byte[] arr) {
2415 if (!buf.hasArray() || buf.array() != arr) {
2416 buf.position(0);
2417 buf.get(arr);
2418 buf.rewind();
2419 }
2420 }
2421
2422
2423 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