Skip to content

sadafsayeed/Huffman-Encoder-Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman-Encoder-Decoder

This repository contains a C++ implementation of Huffman encoding and decoding algorithms for efficient data compression and decompression.

Features:

  • HuffmanNode Class: Defines nodes for constructing Huffman trees.
  • HeapQueue Class: Implements a priority queue for efficient tree construction.
  • Encoding Function: Compresses input strings using Huffman coding.
  • Serialization: Serializes Huffman trees for storage and transmission.
  • Decoding Function: Decompresses Huffman-encoded strings.

Usage:

  • Encoding: Use the compress function to encode input strings.
  • Serialization: Serialize Huffman trees with the serializeTree function.
  • Decoding: Decompress Huffman-encoded strings using the decompress function.

About

Huffman encoding and decoding using C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages