write

suspend fun SdkByteWriteChannel.write(source: ByteArray, offset: Int = 0, limit: Int = source.size - offset)

Write limit bytes from source starting at offset. Suspends until all bytes can be written.