# Zlib\_jll - I'm obviously doing it wrong

**URL:** <https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [February 24, 2024, 6:54pm UTC](https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705 "2024-02-24T18:54:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BloodFeastMan](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@BloodFeastMan](https://discourse.julialang.org/u/BloodFeastMan)\
**Post date:** [February 24, 2024, 6:54pm UTC](https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705/1 "2024-02-24T18:54:23Z")

</div>

Can anyone show an actual example of a line using compress or decompress with Zlib\_jll?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [February 24, 2024, 7:07pm UTC](https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705/2 "2024-02-24T19:07:51Z")

</div>

Zlib isn’t a particularly easy library to use. Your best bet is to look at the source code of one of the Julia packages that depends on it, e.g. [CodecZlib](https://github.com/JuliaIO/CodecZlib.jl/tree/master/src).
