Skip to main content

All Questions

Tagged with
0 votes
1 answer
368 views

Does Chrome's Content Download measure decoding time as well?

I am currently looking into the performance of downloading a compressed javascript file to my app. I can look at the Network debugging tab to determine how long it took the download the file, ...
MayoOverflow's user avatar
4 votes
2 answers
1k views

Using a preset deflate dictionary to reduce compressed archive file size

I have a requirement where text files are send from one location to other. Both location are in our control. The nature of content and the words that could appear in this are mostly the same. Which ...
esafwan's user avatar
  • 17.8k
1 vote
1 answer
602 views

"Streaming" compression/decompression by chunk

I'm working on a JavaScript compression library. I've already created a relatively fast DEFLATE compressor and decompressor, but they require the data to be fully loaded in memory prior to use. I don'...
101arrowz's user avatar
  • 1,875
1 vote
0 answers
2k views

JavaScript library to decode PDF streams

I'm looking for a JavaScript library to decode PDF streams. Is there any JS library that can do this easily? Let's say that I know that the filter that will be used for the stream will be FlateDecode. ...
user3362334's user avatar
  • 2,130
0 votes
1 answer
891 views

Implement GZIP decompression with deflate algorithm

I need to decompress Base64-encoded gzip or deflate data from JavaScript without adding much to the bundle size (this is why I can't just use pako). I found a nice, small library for decompressing ...
101arrowz's user avatar
  • 1,875
1 vote
0 answers
183 views

Streaming client-side zip archivation

Is there any JS library that allows to provide input data in chunks rather than expecting 100% file content to be present in memory (string, Buffer, UInt8Array) before starting archivation? I checked ...
dlxeon's user avatar
  • 1,960
0 votes
1 answer
795 views

pako.deflate not reducing the size of my request

I have a POST request that has a large payload. I'm trying to deflate it with pako before making the request to the server so it is smaller. However my payload sizes are no different for the ...
Abby's user avatar
  • 3,199
1 vote
0 answers
224 views

SVG contentDocument null for Content-Encoding: gzip

I have an SVG inside an object tag. I notice that if I store the SVG uncompressed, and serve it with "Transfer-Encoding: gzip", the image renders properly and I am able to access its contentDocument. ...
Diego's user avatar
  • 85
0 votes
1 answer
1k views

Deflate in Java, Inflate in Javascript, Z_DATA_ERROR

I need to deflate some text in java, send it to NodeJS with WebSockets and inflate it in NodeJS. I use this code in Java to make compressed UTF-8 string in Java public static String compress(String ...
Kirill's user avatar
  • 414
2 votes
1 answer
1k views

JavaScript/C# Inflate and deflate data sent through XHR

I must inflate some data (csv file chunks actually) client side in JavaScript, and deflate it on server side in C#. On client side I'm using pako, and it looks like this: var fileReader = new ...
François G.'s user avatar
1 vote
2 answers
87 views

What is the zipped type of this encoded string?

My brothers give me a sqlite file. It comes with some fields that its values was encoded like this: X'737AB86B719E82CBC3DDDDC9190ABE0F77CFCE54303230300200' (all of it has X' prefix) and I don't know ...
user avatar
7 votes
1 answer
27k views

Implementing permessage-deflate in WebSockets

I hava a problem understanding and implementing a permessage-deflate extension in WebSockets. So far, I have added 'Sec-WebSocket-Extensions: permessage-deflate' inside handshake code. It seems to ...
user1491657's user avatar
1 vote
2 answers
12k views

"java.util.zip.DataFormatException: incorrect header check" when deflate in JavaScript then inflate in Java

I have a big data in the page and need to post to the server. so I use https://github.com/dankogai/js-deflate to deflate the big data. It seems that working fine. helloworld -> ...
chanjianyi's user avatar
0 votes
1 answer
2k views

Debuging a decompression error with Zlib.js

I am trying to compress text server side in PHP using the gzdeflate function and send that data to the clients browser which will then inflate it. I did some research and found the imaya Zlib.js ...
Dodzi Dzakuma's user avatar
7 votes
2 answers
4k views

Deflate in Java - Inflate in Javascript

I'm sending compressed data from a java app via nodejs to a webpage. The data is compressed with the java deflater and base64 encoded. On the webpage I'm trying to inflate the data with https://github....
dbrettschneider's user avatar

15 30 50 per page