Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Binary compression

Hi, does anyone here know any good sources about binary level file compression in C?

I'm curious and want to make a small compression engine from scratch just for fun. I'll try implementing Huffman's algorithm.


Update: This will be a little tricky, I tried compressing a small phrase by hand using the algorithm. Oh boy, that is a lot of steps. I need to freshen up on my data structures if I am to code this lol.

Spoiler (Click to View)
Hi
I usually use zlib for compression process. Zlib is pretty simple and that run with huffman algorithm. You should examine zlib source code.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by MiguelSanchezFeb 20, 2022 07:49 AM 2 126 Feb 20, 2022 07:49 AM
Last Post: Sky
[Python] by ZamperApr 7, 2020 06:57 AM 11 271 Apr 7, 2020 06:57 AM
Last Post: Sc00by
[C#] by gigajewMay 3, 2019 01:48 AM 8 1,035 May 3, 2019 01:48 AM
Last Post: deiski