Compression
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs Compression

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 24th, 2008, 10:20 AM
Pelle
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
ZLib and GZip and memory-buffered operation


Hello all,

I'm currently getting started with the GZip part of ZLib. I've dealt
with the usual ZLib stuff (on a rather surfacial manner) previously,
but I'm new to the GZip routines.
They look pretty straight forward to me so far, but I have a question.
In order to do what I want to do, I need a routine that allows me to
do in-memory-expansion of a file rather than a file-to-file expansion.
Reason is, that my sources are not available as a file, but as a
memory-buffer.
course, I could dump my buffer to a temporary file and use the
normal routines (gzopen, gzread, gzclose) with that, but that seems to
be like scratching your ears with your toes rather than with your
hands. Somewhat.

How can I decompress a GZ-zipped buffer (that once was a file, but not
on my system) with the standard ZLib library functions without using
the file-oriented i/o?

Thanks for any hints!
Regards,
Pelle.


Reply With Quote
Reply

Viewing: Web Development Archives FAQs Compression > ZLib and GZip and memory-buffered operation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT