gzip-js
gzip-js copied to clipboard
unzipping
Hi, very nice lib, but I cannot figure out how to unzip it, when a do gzip.unzip(out) - I get back array of numbers [ 72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100 ] how to convert them into letters? thank you
var decoded=""; [ 72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100 ].forEach(ch=>decoded+=(String.fromCharCode(ch))); undefined decoded "Hello world"
I think we should close this ticket?