Join Slack
How to you read from a `NSInputStream` into a `ByteArrayChannel` without filling the RAM? Anyone g...
# ios
r
ribesg
11/25/2019, 3:21 PM
How to you read from a
NSInputStream
into a
ByteArrayChannel
without filling the RAM? Anyone got an example of that? I’ve got something which does not seem to work and even freezes the app with bigger files
ribesg
11/25/2019, 3:21 PM
Basically to upload a file with Ktor
ribesg
11/25/2019, 3:28 PM
Here is what I have that isn’t working correctly with bigger files, and seem to load everything in RAM anyway
https://gist.github.com/Ribesg/865f86caca62f254b999c742c59e44f7
54
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by