
Kraus Philipp:
On 2010-06-11 09:34:27 +0200, Roland Bock said:
Hi,
I see two options:
a) You write a new multi_file_source class which can any number of input files.
b) Instead of working with a source, you could work with a sink at the other end of the pipeline. Then just copy the content of the two files into the stream.
Hi,
I think I would like to use the second idea, but how I can do this?
I have some classes -- SendCompressedBuffer and ReceiveCompressedBuffer -- that may be helpful. SendCompressedBuffer uses bzip to compress data before it forwards the data. It is able to marshall files and other data. There's an archive -- fear not, it's all of 17,517 bytes -- that you can download and has the classes I mentioned. Brian Wood Ebenezer Enterprises http://webEbenezer.net (651) 251-9384 "The kingdom of heaven is like a treasure hidden in the field, which a man found and hid again; and from joy over it he goes and sells all that he has and buys that field."

Am 12.06.2010 um 23:12 schrieb Brian Wood:
Kraus Philipp:
On 2010-06-11 09:34:27 +0200, Roland Bock said:
Hi,
I see two options:
a) You write a new multi_file_source class which can any number of input files.
b) Instead of working with a source, you could work with a sink at the other end of the pipeline. Then just copy the content of the two files into the stream.
Hi,
I think I would like to use the second idea, but how I can do this?
I have some classes -- SendCompressedBuffer and ReceiveCompressedBuffer -- that may be helpful. SendCompressedBuffer uses bzip to compress data before it forwards the data. It is able to marshall files and other data. There's an archive -- fear not, it's all of 17,517 bytes -- that you can download and has the classes I mentioned.
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. Phil
participants (2)
-
Brian Wood
-
Kraus Philipp