¡@

Home 

javascript Programming Glossary: currchar

JavaScript implementation of Gzip

http://stackoverflow.com/questions/294297/javascript-implementation-of-gzip

lzw_encode s var dict var data s .split var out var currChar var phrase data 0 var code 256 for var i 1 i data.length i currChar.. var phrase data 0 var code 256 for var i 1 i data.length i currChar data i if dict phrase currChar null phrase currChar else out.push.. for var i 1 i data.length i currChar data i if dict phrase currChar null phrase currChar else out.push phrase.length 1 dict phrase..