BufferUtils.toArray

Convert a ByteBuffer to a byte array.

@param buffer The buffer to convert in flush mode. The buffer is not altered. @return An array of bytes duplicated from the buffer.

class BufferUtils
static
byte[]
toArray

Meta