Boost logo

Boost Users :

From: egoots (egoots_at_[hidden])
Date: 2007-07-05 23:57:26


Daniel Oberhoff wrote:

>
> Two open questions that come to mind:
>
> 1) does the compressor flush the zlib compression buffer when I flush/
> pop it?

As I understand it, pop() and reset() both flush and close the current
device and then destroy it.

> 2) is fstream a bidirectional stream (my guess due to separate seekg/
> seekp methods) or a seekable stream (one read/write head)? Because I
> currently require the former.
>
> btw: the above code runs without exceptions, but when I read back
> variables I have just written they are garbled.

You should read the thread of messages at... there may be some relevant
info here:
http://thread.gmane.org/gmane.comp.lib.boost.user/13824

Especially the replies by Jonathan Turkanis


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