The scenario of my problem: Some data in a file that should be compressed to smaller size. The content of this file is required by the HTML on the fly by using the javascript.
So basically i need to encode that data using C and decode that data using javascript and provide it to HTML.
I am just curious to know if this thing is possible or not, because while decoding we need the binary heap.