Has anyone built (or seen) a Kotlin Multiplatform library for compressing data? I need to compress and decompress strings on iOS and JVM. Both of those platforms seem to have their own GZIP implementations, but if someone has already created something like this, I'd be inclined to check it out before writing it myself.
m
mbonnin
10/05/2020, 7:10 PM
I guess there's something in ktor for gzip content encoding, not sure how reusable that is
j
Justin
10/05/2020, 7:15 PM
Interesting, I'll have a look at that thanks
m
mbonnin
10/05/2020, 7:16 PM
Maybe worth checking
okio
as well. AFAIK, there's a Gzip sink/sources for the JVM. Maybe there's an equivalent for native