write

abstract suspend fun write(source: ByteArray, sourceOffset: Int = 0, byteCount: Int = source.size): IKmpIoSink

Writes byteCount bytes starting at sourceOffset from the source into the sink