Decompress zlib stream in Clojure
问题 I have a binary file with contents created by zlib.compress on Python, is there an easy way to open and decompress it in Clojure? import zlib import json with open('data.json.zlib', 'wb') as f: f.write(zlib.compress(json.dumps(data).encode('utf-8'))) Basicallly it isn't a gzip file, it is just bytes representing deflated data. I could only find these references but not quite what I'm looking for (I think first two are most relevant): deflateclj_hatemogi_clojure/deflate.clj funcool/buddy-core