Crate xz_embedded_sys

Source
Expand description

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§

  • A wrapper around xz_ret
  • Passing input and output buffers to XZ code

Enums§

Functions§

  • Update CRC32 value using the polynomial from IEEE-802.3.
  • Update CRC64 value using the polynomial from ECMA-182.
  • Initialize the CRC32 lookup table
  • Initialize the CRC64 lookup table
  • Free the memory allocated for the decoder state
  • Allocate and initialize a XZ decoder state
  • Reset an already allocated decoder state
  • Run the XZ decoder