toByteArray

fun ByteBuffer.toByteArray(position: Int = 0, size: Int = limit()): ByteArray