writeFully

expect abstract suspend fun writeFully(src: ByteArray, offset: Int, length: Int)

Writes all src bytes and suspends until all bytes written. Causes flush if buffer filled up or when autoFlush Crashes if channel get closed while writing.


expect abstract suspend fun writeFully(src: IoBuffer)
expect abstract suspend fun writeFully(src: Buffer)
expect abstract suspend fun writeFully(memory: Memory, startIndex: Int, endIndex: Int)
abstract suspend fun writeFully(src: ByteBuffer)
actual abstract suspend fun writeFully(src: IoBuffer)
actual abstract suspend fun writeFully(src: Buffer)
actual abstract suspend fun writeFully(memory: Memory, startIndex: Int, endIndex: Int)


actual abstract suspend fun writeFully(src: ByteArray, offset: Int, length: Int)

Writes all src bytes and suspends until all bytes written. Causes flush if buffer filled up or when autoFlush Crashes if channel get closed while writing.

abstract suspend fun writeFully(src: <ERROR CLASS><<ERROR CLASS>>, offset: Int, length: Int)
abstract suspend fun writeFully(src: <ERROR CLASS><<ERROR CLASS>>, offset: Long, length: Long)
actual abstract suspend fun writeFully(src: ByteArray, offset: Int, length: Int)
actual abstract suspend fun writeFully(src: IoBuffer)

Writes all src bytes and suspends until all bytes written. Causes flush if buffer filled up or when autoFlush Crashes if channel get closed while writing.


actual abstract suspend fun writeFully(src: Buffer)
actual abstract suspend fun writeFully(memory: Memory, startIndex: Int, endIndex: Int)