sizedByteArray

fun sizedByteArray(start: Int = space, length: Int = buffer.capacity - space): ByteArray

A utility function to copy and return the ByteBuffer data as a byte[].

Return

A full copy of the .dataBuffer.