toByteArray

fun MutableByteGapBuffer.toByteArray(): ByteArray

Copies the contents of this MutableByteGapBuffer into a new ByteArray.