All Questions
Tagged with deflate javascript
23
questions
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, ...
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 ...
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'...
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. ...
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 ...
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 ...
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 ...
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.
...
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 ...
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 ...
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 ...
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 ...
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 -> ...
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 ...
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....