# \#lzma

**URL:** https://discuss.ocaml.org/tag/lzma/275.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [OCaml and LZMA - decompression based on xz-utils and 7zip](https://discuss.ocaml.org/t/ocaml-and-lzma-decompression-based-on-xz-utils-and-7zip/2802)

<div class="topic-metadata">

**Author:** [@XVilka](https://discuss.ocaml.org/u/XVilka)\
**Replies:** 0\
**Last updated:** [October 30, 2018, 11:50am UTC](https://discuss.ocaml.org/t/ocaml-and-lzma-decompression-based-on-xz-utils-and-7zip/2802 "2018-10-30T11:50:37Z")

</div>

Recently I needed to process a bunch of data that can be valid LZMA stream, can be invalid (e.g. damaged) LZMA stream, or just can look like it. I searched pure OCaml implementations and found none. Then I found the old …
