write

fun write(consume: ByteRingBuffer)
fun write(data: ByteArray, offset: Int = 0, size: Int = data.size - offset): Int