binary-streams / loggersoft.kotlin.streams / ByteArea / copyTo

copyTo

fun copyTo(area: ByteArea, offset: Int = 0): ByteArray

Copies this area to another area with specified offset within area.

fun copyTo(buffer: ByteArray, offset: Int): ByteArray

Copies this area to buffer with specified offset within buffer.