Create a new ByteBuffer using the provided byte array.
@param array the byte array to use.
@param offset the offset within the byte array to use from
@param length the length in bytes of the array to use
@return ByteBuffer with provided byte array, in flush mode
Create a new ByteBuffer using the provided byte array.
@param array the byte array to use. @param offset the offset within the byte array to use from @param length the length in bytes of the array to use @return ByteBuffer with provided byte array, in flush mode