<div class="gmail_quote">On Sun, Jul 17, 2011 at 3:24 AM, Johannes Pfau <span dir="ltr"><<a href="mailto:spam@example.com">spam@example.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

>From the xz-utils Homepage:<br>
-----------------------------------<br>
The core of the XZ Utils compression code is based on LZMA SDK, but it<br>
has been modified quite a lot to be suitable for XZ Utils. The primary<br>
compression algorithm is currently LZMA2, which is used inside the .xz<br>
container format. With typical files, XZ Utils create 30 % smaller<br>
output than gzip and 15 % smaller output than bzip2.<br>
<br>
XZ Utils consist of several components:<br>
[...]<br>
liblzma is a compression library with API similar to that of zlib.<br>
-----------------------------------<br>
<br>
lzma compression is used in .7z .tar.lzma and .tar.xz files.<br>
<br>
I've written bindings for this liblzma library, so I'd like to know if<br>
there's interest in including liblzma bindings in phobos.<br>
<br>
The bindings are here:<br>
<a href="https://github.com/jpf91/lzmad" target="_blank">https://github.com/jpf91/lzmad</a><br>
API docs:<br>
<a href="http://jpf91.github.com/lzmad/api/lzma.html" target="_blank">http://jpf91.github.com/lzmad/api/lzma.html</a><br>
<br>
liblzma is public domain, so it could even be shipped with phobos, if<br>
desired. Pre-compiled windows dlls are also available.<br>
--<br>
<font color="#888888">Johannes Pfau<br>
<br></font></blockquote><div><br></div><div>I would find it useful. </div></div><br>