Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams] compressing and decompressing in memory
From: Brian Budge (brian.budge_at_[hidden])
Date: 2010-11-05 16:30:37


HI Roland -

Thanks for the link. Is this safe and/or efficient to use for binary
data "file"s?

Thanks,
  Brian

On Fri, Nov 5, 2010 at 11:36 AM, Roland Bock <rbock_at_[hidden]> wrote:
> On 11/05/2010 03:06 PM, Brian Budge wrote:
>>
>> I've been searching around for examples for how to compress and
>> decompress using the zip or gzip iostreams compressors into/out of
>> memory buffers.  Has anyone tried this?  Would you use basic_array for
>> this?
>>
>>
>
> I used std::string, like this, for example:
>
> https://svn.boost.org/trac/boost/attachment/ticket/2411/istream_bzip2_success.cpp
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net