$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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