(byte[] array)
| 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); |