Hi there,

Is it a good idea for one to read bytes data from input stream as int values from 0 to 255 and construct a Huffman coding tree out of it then use it later for decoding?

Most of the tutorials out there are mainly about compressing txt files so I wondered if I can do it on both text and image files at the same time without changing the algorithm much.