How to you read from a `NSInputStream` into a `By...
# ios
r
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
Basically to upload a file with Ktor
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