Adding liblzma bindings to phobos?
Johannes Pfau
spam at example.com
Sun Jul 17 03:24:42 PDT 2011
From the xz-utils Homepage:
-----------------------------------
The core of the XZ Utils compression code is based on LZMA SDK, but it
has been modified quite a lot to be suitable for XZ Utils. The primary
compression algorithm is currently LZMA2, which is used inside the .xz
container format. With typical files, XZ Utils create 30 % smaller
output than gzip and 15 % smaller output than bzip2.
XZ Utils consist of several components:
[...]
liblzma is a compression library with API similar to that of zlib.
-----------------------------------
lzma compression is used in .7z .tar.lzma and .tar.xz files.
I've written bindings for this liblzma library, so I'd like to know if
there's interest in including liblzma bindings in phobos.
The bindings are here:
https://github.com/jpf91/lzmad
API docs:
http://jpf91.github.com/lzmad/api/lzma.html
liblzma is public domain, so it could even be shipped with phobos, if
desired. Pre-compiled windows dlls are also available.
--
Johannes Pfau
More information about the Digitalmars-d
mailing list