Crate xz_embedded_sys [] [src]

xz-embedded-sys

FFI Bindings to the xz-embedded library, which is a simple xz decompression library

The documentation in this crate is copied almost verbatim from the xz-embedded header file, and so there might be some C-isms that aren't applicable to this rust crate. Please read carefully.

Structs

XZRawError

A wrapper around xz_ret

xz_buf

Passing input and output buffers to XZ code

Enums

xz_dec

Opaque type to hold the XZ decoder state

xz_mode

Operation mode

xz_ret

Return codes

Functions

xz_crc32

Update CRC32 value using the polynomial from IEEE-802.3.

xz_crc64

Update CRC64 value using the polynomial from ECMA-182.

xz_crc32_init

Initialize the CRC32 lookup table

xz_crc64_init

Initialize the CRC64 lookup table

xz_dec_end

Free the memory allocated for the decoder state

xz_dec_init

Allocate and initialize a XZ decoder state

xz_dec_reset

Reset an already allocated decoder state

xz_dec_run

Run the XZ decoder