flush

protected abstract fun flush(
    source: Memory,
    offset: Int,
    length: Int
): Unit

An implementation should write source to the destination exactly length bytes. It should never capture the source instance longer than this method execution since it may be disposed after return.

fun flush(): Unit

Overrides Output.flush