Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Interface to LZMA compression library
D C C++
branch: master

Merge pull request #4 from CyberShadow/pull-20141220-205804

lzma.index: Fix C-style array syntax
latest commit d25937c0e2
@CyberShadow CyberShadow authored


liblzma D bindings


XZ Utils is free general-purpose data compression software with high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.

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.

liblzma is a compression library with API similar to that of zlib.

liblzma and the D bindings are released as public domain.

Binding version: 5.0.3

See examples/ folder

High-Level Wrapper:
not available


To create a Windows import library for DMD, use the command:
implib /system liblzma.lib liblzma.dll
Something went wrong with that request. Please try again.