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).
Creates a buffered stream using a buffer of a default size of 1024 bytes for cashing the stream parent.
Destructor. Calls Sync() and destroys the internal buffer.
Calls Sync() and changes the stream position.
Flushes the buffer and calls Sync() on the parent stream.