openWriteChannel

fun AWritable.openWriteChannel(autoFlush: Boolean = false): ByteWriteChannel

Open a write channel, could be opened only once

Parameters

autoFlush

whether returned channel do flush for every write operation