Has anyone built (or seen) a Kotlin Multiplatform ...
# multiplatform
j
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
I guess there's something in ktor for gzip content encoding, not sure how reusable that is
j
Interesting, I'll have a look at that thanks
m
Maybe worth checking
okio
as well. AFAIK, there's a Gzip sink/sources for the JVM. Maybe there's an equivalent for native
If there's not, that'd be a great contribution
r
it seems to have support for compression (zip, gzip, 7zip, lzma and others)
but I haven't used it myself
388 Views