MCPcopy Create free account
hub / github.com/ReadyTalk/avian / wrap

Method wrap

classpath/java/nio/ByteBuffer.java:31–33  ·  view source on GitHub ↗
(byte[] array)

Source from the content-addressed store, hash-verified

29 }
30
31 public static ByteBuffer wrap(byte[] array) {
32 return wrap(array, 0, array.length);
33 }
34
35 public static ByteBuffer wrap(byte[] array, int offset, int length) {
36 return new ArrayByteBuffer(array, offset, length, false);

Callers 5

testMethod · 0.95
writeMethod · 0.95
runMethod · 0.95
readMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by 2

testMethod · 0.76
writeMethod · 0.76