In Java I would write and while loop for downloadi...
# announcements
j
In Java I would write and while loop for downloading a file like this=
while((int count = input.read()) != -1)
. But is not possible to do the same on Kotlin, how would you wrote a while loop like this?