Overview
Features
Download
Documentation
Community
Add-Ons & Services

Can Poco add zip support for buffer?

A general discussion forum.

Can Poco add zip support for buffer?

Postby hmv » 01 Apr 2011, 05:09

I need in memory data compress/decompress operation. The zip in current Poco only support file or stream. Does there any plan to support buffer zip?
thanks.
hmv
 
Posts: 4
Joined: 01 Apr 2011, 05:04

Re: Can Poco add zip support for buffer?

Postby guenter » 01 Apr 2011, 12:13

If you simply need in-memory compression in gzip/deflate format, you can use Poco::Deflating*Stream and Poco::Inflating*Stream. These work on all kinds of streams, including Poco::MemoryStream.
guenter
 
Posts: 1110
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Can Poco add zip support for buffer?

Postby hmv » 02 Apr 2011, 07:29

Thanks, I've found example code.
hmv
 
Posts: 4
Joined: 01 Apr 2011, 05:04


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest