Stefan Oltmann
03/21/2024, 2:25 PMDarwin
engine uses NSURLSession
internally. If I load a bytes from a webservice in common code this is of course a Kotlin ByteArray
. I assume this must be converted from NSData
internally.
Since skiko can now read an Image
directly from NSData
without the need to have it converted to ByteArray
first, I wonder if there is a way that I can get NSData
from a ktor call without the conversion.
This should have a positive effect on memory consumption if this is done in masses for a photo app like Ashampoo Photos.
Is it possible?Aleksei Tirman [JB]
03/21/2024, 7:17 PMStefan Oltmann
03/21/2024, 7:18 PM