xz v0.4.0 XZ

Elixir wrapper for the XZ SDK. Allows binary data to be compressed or decompressed.

Link to this section Summary

Functions

Compress the given data.

Decompress the given data.

Load the NIF from the priv directory

Link to this section Functions

Link to this function

compress(data, options)
compress(data :: binary(), options :: [term()]) ::
  {:ok, binary()} | {:error, term()}

Compress the given data.

Link to this function

decompress(data)

Link to this function

decompress(data, options)
decompress(data :: binary(), options :: [term()]) ::
  {:ok, binary()} | {:error, term()}

Decompress the given data.

Load the NIF from the priv directory