
6 Jul
2007
6 Jul
'07
3:57 a.m.
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