USF-OS / FogOS

Other
1 stars 24 forks source link

Compression and decompression command #41

Closed AndrewLiu666 closed 4 months ago

AndrewLiu666 commented 4 months ago

Implement two commands "compress" and "decompress".

In the compressed file, the first N lines are Huffman code tables. Then after two blank lines comes the Huffman string, using spaces to separate each Huffman code.