write

abstract suspend fun write(bytes: ByteArray)

Write bytes in full (and flush, for a socket implementation).