toByteArray

Returns ByteBuffer array even if ByteBuffer.hasArray returns false.

Return

ByteArray extracted from ByteBuffer