lzf_gleam
Compress and decompress using LZF algorithm
gleam add lzf_gleam
Quickstart
To use this LZF compression/decompression library, you will need to create a new Gleam project and add lzf dependency
import lzf
pub fn main() {
// Compression:
"abcabcabcabcabcabc" |> compress
// <<3, 97, 98, 99, 240, 3, 240, 9, 1, 99>>
// Decompression
<<3, 97, 98, 99, 240, 3, 240, 9, 1, 99>> |> decompress
// "abcabcabcabcabcabc"
}
Further documentation can be found at https://hexdocs.pm/lzf_gleam.
Development
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell