Skip to content

An implementation of Huffman Coding Compression written in C

License

Notifications You must be signed in to change notification settings

jgesc/huffman-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffman-coding

My implementation of Huffman Coding compression algorithm made in C to compress and decompress files.

Reference

void huff_cod(FILE * in, FILE * out)
	Compresses a file using Huffman Coding algorithm.
Arguments:
	in: file stream to compress
	out: compressed file stream

void huff_dec(FILE * in, FILE * out)
	Decodes a byte stream using Huffman Coding algorithm.
Arguments:
	in: compressed file to decode
	out: original file