inflate is the decompression counterpart to the lossless compression algorithm and format deflate. The deflate format was created by Phil Katz of PKWare for the PKZip (.zip) archive format. Public domain software provides deflate and inflate functionality in the gzip utility and the zlib library. (Note that this tag has nothing to do with Android view inflate.)
Questions tagged [inflate]
357 questions
1
vote
2 answers
Inflating multiple instances of the same layout into tabs
This is a problem that has troubled me for a few days now. I've done my best searching for a solution, but everywhere I go it says the approach I'm currently using is the right one.
The situation is simple: I have five tabs, which are to contain the…

Sven
- 178
- 1
- 8
1
vote
0 answers
express.raw() doesn't inflate a zlib-compressed object
Passing a uint8 array from browser to Node Express running in Linux container on Chromebook, to have content decompressed and returned to browser session. The req.body initial bytes are x'68de' which are valid RFC1950 header data for DEFLATE. The…

John Lundborg
- 11
- 1
1
vote
1 answer
InflateException
I've been encountering and InflateException error and am not really sure what it means. I hope someone can explain it to me. Thanks. Below is the stack trace.
09-26 17:35:29.747: ERROR/AndroidRuntime(10214): Uncaught handler: thread main exiting due…

androidnewbie
- 85
- 2
- 8
1
vote
1 answer
Struggling with inflate algorithm
I'm having a difficult time understanding how the inflate algorithm works even after reading the RFC and reviewing c and javascript implementations. I compressed a file with the text "TestingTesting" and got the following result in hex: 0B 49 2D…

ItsJustMe
- 137
- 1
- 1
- 6
1
vote
0 answers
Issues decompressing (FlateDecode) audio data in XFDF from Adobe Acrobat
I'm trying to decompress AIFF audio data from an XFDF sound annotation, and play the audio in the browser. Any time I export a sound annotation from Adobe Acrobat and decompress the audio data it results in seemingly garbage data.
The code below…

AdamInTheOculus
- 360
- 4
- 10
1
vote
0 answers
DeflateReset or clear API for allocated InflateRaw (fast-zlib) object
we are using npm fast-zlib lib for deflating a compressed load.
The code is pretty simple
let zipped = getItFromSomeWhere();
let inflateRaw = new fastZlib.InflateRaw({
chunkSize: 4 * 1024
…

Denis Voloshin
- 768
- 10
- 32
1
vote
2 answers
Android OnCreateOptionsMenu
I've made menu's before, so I'm not a complete rookie, but I've encountered a problem where Eclipse tells me I have to remove @Override, but obviously if I do then my code won't run to inflate the menu. the code is:
@Override
public boolean…

Victor KP
- 437
- 3
- 10
1
vote
2 answers
How to open an activity instantly and then loading its layout
Here's the deal: I have a heavy layout that cannot be improved any further, as it contains LinearLayouts with weights (so I cannot use RelativeLayouts).
In Activity A, I click on a list item that fires off Activity B. Activity A freezes until…

frapontillo
- 10,499
- 11
- 43
- 54
1
vote
1 answer
zlib/miniz: how to configure inflate for very low memory usage?
I have an embedded system with low amounts of memory which needs to inflate zlib-deflated data packets coming from server-side. The deflation can use all the resources it wants, but for the inflation I'm limited to less than 5 kB. The deflated data…

isaac_awesome-o
- 13
- 4
1
vote
2 answers
Java inflate exception on raw data
I was trying to decode the JWT payload in java but this payload is compressed/deflated
"zip": "DEF"
java.util.zip.DataFormatException: incorrect header check
private static byte[] decompress(byte[] value) throws DataFormatException {
…

Rohit Sharma
- 13
- 1
- 4
1
vote
1 answer
Java.util.zip.DataFormatException: incorrect header check
First post, usually I find what Im looking for in other threads but not this time:
Im using javas Deflater and Inflater to compress/ decompress some data I send between a server and client application that Im working on.
It works just fine for 99%…

JakobSailer
- 15
- 1
- 4
1
vote
1 answer
Inflate an xml file or create new intance of View in loop?
I am creating a screen/xml which has:
TextView (Header)
LinearLayout (placeholder to contain numerous RelativeLayouts)
I need to add many RelativeLayout (containing two TextViews) to the LinearLayout (mentioned above) in loop. This basically…

Khushboo
- 3,095
- 2
- 23
- 24
1
vote
1 answer
Inflating a view from inside the View constructor (Android)
I am using LayoutInflater to inflate the innards of a View in the View's constructor, as follows:
public class TrackHeader extends RelativeLayout {
public TrackHeader( Context context ) {
super( context );
final…

Ezy E
- 11
- 2
1
vote
2 answers
InstantiationException when using subclass of EditTextPreference
Assume, I have a subclass of EditTextPreference called PasswordProtectedEditTextPreference. This subclass basically shows a password dialog before one can edit the preference by the EditTextPreference's own dialog.
Now I define the preference in the…

ubuntudroid
- 3,680
- 6
- 36
- 60
1
vote
0 answers
zlib inflate error : Z_DATA_ERROR while the received packets is out-of-order or lost
I have work this for weeks, very hope for your help!!! please forgive my poor english.
First, I think it's necessary to describe the Application Scenario:
what data I want to decompress?----the data is come from the network traffic of the internet.…

zs eric
- 11
- 2