wxBufferedOutputStreamThis 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). Derived from Include files <wx/stream.h> See also wxStreamBuffer, wxOutputStream Members
wxBufferedOutputStream::wxBufferedOutputStream
wxBufferedOutputStream::wxBufferedOutputStreamwxBufferedOutputStream(const wxOutputStream& parent) Creates a buffered stream using a buffer of a default size of 1024 bytes for cashing the stream parent.
wxBufferedOutputStream::~wxBufferedOutputStream~wxBufferedOutputStream() Destructor. Calls Sync() and destroys the internal buffer.
wxBufferedOutputStream::SeekOoff_t SeekO(off_t pos, wxSeekMode mode) Calls Sync() and changes the stream position.
wxBufferedOutputStream::Syncvoid Sync() Flushes the buffer and calls Sync() on the parent stream.
|