Home

Add a comment

 

demo page over reports the uncompressed size

Thanks the the explanation. In our case, we're trying to take a lot of query string data and compress it so the query string will not be too long. We would need to run the compressToEncodedURIComponent function to get a URI safe string. It says that the size of a base64 string is approx 1.66 times the binary size. If we were making a comparison in this case we should use 1/2 the size listed for the input text (1 byte per char), is that correct?

demo page over reports the uncompressed size


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home