lzf_gleam

Types

Error occurred deccompressing the BitArray

pub type DecompressError {
  DecompressError
}

Constructors

  • DecompressError

Functions

pub fn compress(input: String) -> BitArray

Compress an input string, returns an LZF compressed BitArray

pub fn decompress(
  data: BitArray,
) -> Result(String, DecompressError)

Decompress a BitArray, this may fail if the LZF compressed BitArray is malformed

Search Document