I need a very simple C++ class of set of C functions that interface with the freely available [login to view URL] (or mkZipLib) to compress/decompress and inflate/deflate data on-the-fly. I need to be able to pass in an array of bytes (or string) and get back the compressed/decompressed array. I DO NOT need to be able to read or write the data to/from disk - I only need to do this in memory. Note that I am particularly interested in the "inflate" command BUT I do not know what the inflated size of data will be - therefore the buffer will need to be large enough to accommodate it. If you have experience working with [login to view URL] or similar then this should be a fairly easy task. I am very very busy at the moment and do not have the time to do all this from scratch myself so any help would be appreciated. I have attached a file which contains an example of data I wish to "inflate".
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
* * *This broadcast message was sent to all bidders on Friday Feb 11, 2005 12:15:25 PM:
Hi, thank you for your interest in my job. Just to clarify things, I am more interested in the "inflate" command though I do need the following commands to be implemented:
inflate
deflate
compress
uncompress
Here is an example of the type of data I would like to "inflate":
`<br />
unsigned char myData[313]={<br />
0xE4,0x01,0x4C,0x57,0x3D,0x4B,0x03,0x41,0x10,0x7D,0xD9,0x93,0x43,0xCE,0x36,0x10,<br />
0x14,0x0F,0x4E,0x10,0x44,0xB0,0xB1,0xB0,0x14,0x72,0x92,0x4A,0x4D,0x22,0xD8,0xD9,<br />
0xC8,0xE6,0x6E,0xB9,0x5B,0xB3,0xD9,0x0D,0x77,0x7B,0x89,0xF7,0x07,0x44,0xC1,0xC2,<br />
0xD6,0x4E,0xFC,0x13,0x82,0xBD,0x90,0x22,0x7D,0x2C,0xED,0x22,0xD8,0x8A,0xB5,0xC5,<br />
0x7D,0x64,0xB7,0x19,0xDE,0xCC,0xDB,0x99,0x61,0xD8,0xB7,0x30,0x7B,0xF8,0xAA,0x67,<br />
0x3C,0x03,0x10,0x02,0xB0,0x7D,0xC7,0xB1,0xD1,0xC4,0xEB,0xBB,0x0B,0xFB,0xB4,0x85,<br />
0xDD,0xA7,0x16,0xB6,0xF6,0x5D,0xCC,0x1F,0x5D,0x1C,0x2F,0x5A,0x78,0 xFE,0x70,0xF1,<br />
0xF3,0xE7,0xE2,0x3E,0x69,0x42,0xBE,0xB9,0x68,0x2E,0xD7,0x30,0xEF,0xAC,0xE3,0x65,<br />
0x01,0xB4,0x97,0xC0,0xF7,0xC3,0x06,0x9C,0xBB,0x06,0xDA,0x68,0xE0,0x77,0xC7,0xC2,<br />
0x6C,0xDA,0xC0,0xE7,0xB6,0x0D,0x91,0x05,0xC3,0xDC,0x3B,0x3C,0xAA,0x6A,0xF7,0x25,<br />
0xA3,0x61,0x48,0x35,0x1F,0x15,0xDB,0xE8,0x60,0x28,0xB9,0xAC,0x16,0x53,0x00,0x17,<br />
0xFD,0x8E,0x7F,0x69,0xF4,0x5A,0xFE,0xE9,0x35,0x5E,0x69,0xA9,0xC0,0x7E,0x26,0xF5,<br />
0x75,0x77,0x95,0x20,0x54,0x03,0x75,0x63,0xDC,0xEF,0xF1,0x88,0xE5,0x27,0x2A,0xAF,<br />
0xF0,0x28,0xF5,0x34,0x1F,0xAC,0x74,0x15,0x09,0x9A,0x46,0x6A,0x5A,0xE3,0x2B,0x36,<br />
0x8E,0xF3,0x24,0xE6,0x42,0x14,0x9C,0x1E,0xCD,0x22,0xAA,0xB3,0x60,0x58,0xC6,0xBB,<br />
0x8C,0x86,0x06,0x1D,0x69,0x26,0xBD,0x80,0xEB,0xDC,0x9B,0xB2,0x54,0x03,0x38,0x93,<br />
0xEA,0x76,0xC2,0x85,0xA8,0x3A,0xEA,0xF2,0x20,0xE6,0x11,0x95,0x15,0x5F,0x89,0x54,<br />
0xC1,0x38,0xE7,0x8C,0x85,0xA6,0xCA,0xD3,0x38,0x61,0x13,0x36,0x56,0x89,0x3E,0xF0,<br />
0x04,0x35,0x99,0x84,0x10,0x42,0x 2C,0x8B,0x10,0x6B,0xD3,0xF0,0x56,0xCF,0xDA,0x29,<br />
0xAD,0x5F,0xDA,0x7F,0x00,0x00,0x00,0xFF,0xFF };<br />`
Don't forget that I may not know how large the inflated data will be. Also, there are different methods of "inflating".
## Platform
Windows All