“Convert to Kotlin” produced this code, which does...
# android
n
“Convert to Kotlin” produced this code, which does not compile:
Copy code
while ((read = `in`.read(buff)) > 0) {
                    out!!.write(buff, 0, read)
                }
What is the idiomatic way to write this in Kotlin?