Project

lzfse

0.0
No release in over a year
lzfse is a Ruby gem containing bindings for Apple's LZFSE and LZVN compression algorithms. It binds Apple's reference implementation and exposes compression and decompression APIs for both LZFSE and LZVN.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

lzfse.rb

CI Gem Version

Ruby bindings for Apple's reference implementation of LZFSE.

Bindings are also provided for the internal LZVN APIs.

Usage

You'll need the gem:

gem install lzfse

Then, use the four public APIs:

require "lzfse"

# LZFSE
compressed = LZFSE.lzfse_compress "please compress this string"
LZFSE.lzfse_decompress compressed

# LZVN
compressed = LZFSE.lzvn_compress "please also compress this string!"
LZFSE.lzvn_compress compressed

Each API takes a single string and returns a string.

License

lzfse.rb is licensed under the MIT license.

Apple's reference implementation of LZFSE is licensed under the 3-clause BSD license.