.\" This is a wxWidgets manpage page generated from the XML docs .TH wxBufferedOutputStream 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxBufferedOutputStream \- Buffered output stream class .SH DESCRIPTION This stream acts as a cache. It caches the bytes to be written to the specified output stream (See wxFilterOutputStream ). The data is only written when the cache is full, when the buffered stream is destroyed or when calling SeekO(). This class may not be used without some other stream to write the data to (such as a file stream or a memory stream). .SH "PARENTS" wxFilterOutputStream .SH "INCLUDE FILES" wx/stream.h .SH MEMBERS .SS wxBufferedOutputStream (const wxOutputStream& parent) Creates a buffered stream using a buffer of a default size of 1024 bytes for cashing the stream parent . .SS ~wxBufferedOutputStream () Destructor. Calls Sync() and destroys the internal buffer. .SS off_t SeekO (off_t poswxSeekMode mode) Calls Sync() and changes the stream position. .SS void Sync () Flushes the buffer and calls Sync() on the parent stream. .SH "SEE ALSO" wxFilterOutputStream wxStreamBuffer wxOutputStream .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.