ddaletski / pyhuffman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyhuffman - python interface to libhuffman

module methods

compress(data) - compress data

  • data: bytes - data to compress
  • returns: bytes - compressed data

decompress(data) - decompress data

  • data: bytes - data to decompress
  • returns: bytes - decompressed data

exceptions

CompressError - is thrown when encoding was unsuccessful DecompressError - is thrown when decoding was unsuccessful

About


Languages

Language:C 59.9%Language:Python 28.4%Language:Makefile 11.7%