Can i use platform.zlib.* in Kotlin Multiplatform ...
# multiplatform
v
Can i use platform.zlib.* in Kotlin Multiplatform project? I've read that kotlin by default provides popular libraries for most platforms, and zlib is one of them. But when i add: import platform.zlib.* in my commonMain source, i get unresolved reference platform
l
The platform libraries are often a Kotlin/Native feature. Do you have a jvm or android source set? If so, then you'd want to expect/actual into the best jvm zlib library.
v
What do you mean by
best jvm zlib
library?
l
Whichever one works best for your use case