write

fun write(buffer: ByteArray, offset: Int = 0, size: Int = buffer.size - offset): Int