Overview
Features
Download
Documentation
Community
Add-Ons & Services

Inflate stream in C# deflated using Poco DeflatingStreamBuf

Please post support and help requests here.

Inflate stream in C# deflated using Poco DeflatingStreamBuf

Postby cosu2004 » 04 Nov 2012, 17:29

Hello,

Does anyone how can I inflate a stream in C# that was deflated in Poco using:
Code: Select all
DeflatingOutputStream compressor(OutStream, Poco::DeflatingStreamBuf::STREAM_ZLIB, 9);


???

I tried with SharpZipLibrary but It stops when I try to read the inflated stream.
Does the poco compression create a header for the deflated stream?
cosu2004
 
Posts: 14
Joined: 05 Jul 2012, 10:50

Re: Inflate stream in C# deflated using Poco DeflatingStream

Postby guenter » 05 Nov 2012, 09:07

STREAM_ZLIB just writes raw zlib compressed data without header. Try Poco::DeflatingStreamBuf::STREAM_GZIP or use the POCO Zip library.
guenter
 
Posts: 1119
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Support

Who is online

Users browsing this forum: No registered users and 5 guests