Overview
Features
Download
Documentation
Community
Add-Ons & Services

BufferedBidirectionalStreamBuf

Please post support and help requests here.

BufferedBidirectionalStreamBuf

Postby jmansion » 06 Jul 2007, 13:09

It may be worth commenting that this does not support either seeking with seekp/seekg OR finding where the position is with tellp/tellg, which always return pos_type(-1) which would normally indicate that fail() is true.

I suspect that the unbuffered stream buf is the same, but haven't checked.
jmansion
 
Posts: 15
Joined: 01 Aug 2006, 14:42

Re: BufferedBidirectionalStreamBuf

Postby guenter » 09 Jul 2007, 11:52

Look at the implementation of FileStream for how seeking etc. can be made work with Buffered*StreamBuf.
guenter
 
Posts: 1165
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Support

Who is online

Users browsing this forum: cc90202 and 5 guests