Boost logo

Boost Users :

Subject: [Boost-users] concat files for compression
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2010-06-12 19:44:33


Am 12.06.2010 um 23:12 schrieb Brian Wood:
Kraus Philipp:

> Thanks I will take a look at your classes, biut I think, that you
> "seperate" files.
> I need this one:
>
> cat first_file > temp
> cat second_file >> temp
> gzip temp
>
> The zip functions is implementated but I don't know how to create the
>"cat" into one
> stream.

You're welcome. With my implementation, it depends on the size
of the sending buffer. If data from more than one file fits into the
buffer, that data is added to the buffer.

-- 
Brian Wood
Ebenezer Enterprises
http://webEbenezer.net
(651) 251-9384
"The L-RD is my light and my salvation: whom shall I fear?
the L-RD is the strength of my life; of whom shall I be afraid?"

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