[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    RE: koTar
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-11-04 15:24:26
[Download RAW message or body]

On Thu, 04 Nov 1999, David Faure wrote:

> With KTar you have to pass char * buffers containing the whole "sub-"file
> you want to write into the tar archive. If you can do that you don't need a stream
> operator.
> 
> A stream operator allows to write text step by step, as koffice does.
> But you don't need that.

I still think streaming is easier.
stream << MyImage;

If I have to put MyImage in a char * buffer fist I have a strong
feeling that I'm busy to duplicate the code of koStore.
  
> Just use the API of ktar to write files directly into the tar file,
> no need for temp files.

Hm.

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic