Exgzip May 2026

You can add it to your project by including it in your mix.exs dependencies: defp deps do [ :ex_gzip, "~> 0.1.0" ] end Use code with caution. Copied to clipboard Once installed, you can perform basic operations: : EXGzip.compress("your data") Decompressing : EXGzip.decompress(compressed_binary)

: Reduces boilerplate code required to initialize and control zlib streams manually. EXGzip

: Designed to work seamlessly with Elixir's pipe operator ( |> ), allowing for clean and readable data processing pipelines. You can add it to your project by including it in your mix

: Clearer function names and standard Elixir error handling (e.g., returning :ok, data or :error, reason ). : Clearer function names and standard Elixir error

: It follows standard library guidelines for naming and documentation, ensuring it feels consistent with other packages in the Hex ecosystem . Getting Started

is an Elixir library that provides a simple wrapper around the standard Erlang :zlib module to handle Gzip compression and decompression. It is designed to offer a more "Elixir-native" interface for working with Gzip data, making it easier to integrate into modern Elixir projects. Key Features

While the underlying Erlang :zlib module is powerful, its API can be low-level and cumbersome for developers accustomed to Elixir's syntax. bridges this gap by providing:

EXGzip
Privacy Overview

Protek Equipment uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.