Wednesday, 15 August 2012

Encoding Huffman in C and decoding the same in javascript -



Encoding Huffman in C and decoding the same in javascript -

the scenario of problem: info in file should compressed smaller size. content of file required html on fly using javascript.

so need encode info using c , decode info using javascript , provide html.

i curious know if thing possible or not, because while decoding need binary heap.

yes, it's possible. javascript has bit operations take value 32-bit integer, though it's stored in float. permit same things in c compress , decompress data. won't fast, work.

javascript c huffman-coding

No comments:

Post a Comment