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
2
votes
1 answer
Is this a bug in Java's Inflater or what?
I was bitten by this in some unit tests.
I want to decompress some ZLIB-compressed data, using Inflater, where the raw data length is known in advance.
This (straightforward) works as expected
/*
* Decompresses a zlib compressed buffer,…

leonbloy
- 73,180
- 20
- 142
- 190
2
votes
0 answers
How to properly read multiple zlib streams from one base stream (Git Packfile) in NodeJS?
I'm creating a NodeJS module to interact with git repositories and I'm trying to read Packfiles coming from public git hostings like GitHub.
The problem is, Packfiles are made of many zlib streams but I can't figure out how to:
inflate (uncompress)…

Max1Truc
- 124
- 7
2
votes
2 answers
Problem Inflating byte[] in Java?
I ran into an issue which I can't figure out. Here is the definition of the problem:
I have some data in a Blob column in Db2/Linux environment. Blob was written into DB2 after the byte[] was compressed using JDK compression (code that does this is…

John
- 877
- 4
- 11
- 19
2
votes
3 answers
Using minizip to decompress a char array
I have a vector (which is just a wrapper over a char array) that is the input. The pkzip was created using c# sharpZipLib.
I stored the data into a file which I ran through a hex editor zip template that checked out. The input is good, it's not…

Karlovsky120
- 6,212
- 8
- 41
- 94
2
votes
1 answer
How to inflate in Python some data that was deflated by Peoplesoft (Java)?
DISCLAIMER: Peoplesoft knowledge is not mandatory in order to help me with this one!
How could i extract the data from that Peoplesoft table, from the PUBDATALONG column?
The description of the table is here:…

Mr.M
- 35
- 5
2
votes
2 answers
why aren't menus pre-inflated for you?
Why aren't menus inflated automatically for you in Android, the way an Activity's layout is?

Peter vdL
- 4,953
- 10
- 40
- 60
2
votes
1 answer
zlib inflateReset causes memory leak (not)
I am currently working on the below requirement.
Here is the requirement: On the server side a large file is divided into 4000-byte blocks (frames). Each block is in turn compressed (using zlib) and sent to client process. For instance, if a file is…

Sathya
- 23
- 4
2
votes
1 answer
Github error while trying to push
So I have commit all my local changes successfully, but then when I try to use git push, it gives me the following error message:
Error: inflate: data stream error (unknown compression method) fatal:
loose object…

kdp
- 21
- 2
2
votes
2 answers
Meteor HTTP.call gzip answer
I made a request to a server expecting to get a Json as an answer, but the answer was a compressed gzip and I don't know how to inflate this.
Does someone know a library or a native function to help me with this?
I tried zlib but that needs a stream…

Z. Clément
- 474
- 4
- 15
2
votes
2 answers
Unzip buffer with large data length is crashing
This is the function I am using to unzip buffer.
string unzipBuffer(size_t decryptedLength, unsigned char * decryptedData)
{
z_stream stream;
stream.zalloc = Z_NULL;
stream.zfree = Z_NULL;
stream.avail_in = decryptedLength;
…

Grace
- 1,265
- 21
- 47
2
votes
1 answer
Failed to inflate packfile Visual Studio Error
im trying to pull the current branch of a project on github.
When i click sync in Visual Studios Team explorer, I receive the following error:
"An error occurred. Detailed message: Failed to inflate packfile"
Any ideas on how I can fix this?…

mwild
- 1,483
- 7
- 21
- 41
2
votes
1 answer
InflateException i have an Error inflating class
I have more activities and i dont have any problem but when i'm starting this activity(Segunda) it break
In this Activity I try to use a customView for zoom and draw, and i cant find where is the problem
this is the activity
public class Segunda…

Andres Cárdenas
- 720
- 1
- 5
- 26
2
votes
2 answers
android.view.InflateException: Binary XML file line #51: Error inflating class com.android.internal.widget.DialogTitle
I get the following error, or a similar error, every time my application tries to display a dialog fragment or particular layout:
11-22 10:20:48.993: E/AndroidRuntime(15514): FATAL EXCEPTION: main
11-22 10:20:48.993: E/AndroidRuntime(15514):…

public static void
- 1,153
- 11
- 20
2
votes
0 answers
boost zlib_decompressor fails at valid data
To decompress chunks of data i am using boosts iostreams::zlib_decompressor. First id like to show you my decompression code with boost
boost::iostreams::filtering_istreambuf…

Muepe
- 671
- 3
- 14
2
votes
4 answers
How can i inflate three layouts in ListView?
I have a custom listView in which i want to inflate three different layouts.
I have seen many questions but they are all for odd and even position but in my listView the layout that should be inflated to the listView depends on other condition and…

Saad
- 309
- 2
- 9
- 21