Creates a new byte buffer by wrapping the given byte array. Calling this method has the same effect as wrap(array, 0, array.length). @param array the byte array which the new buffer will be based on @return the created byte buffer.
(byte[] array)
| 79 | * @return the created byte buffer. |
| 80 | */ |
| 81 | public static ByteBuffer wrap(byte[] array) { |
| 82 | return BufferFactory.newByteBuffer(array); |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Creates a new byte buffer by wrapping the given byte array. |
no test coverage detected