Derived from
Include files
<wx/stream.h>
See also
wxOutputStream::wxOutputStream
wxOutputStream::~wxOutputStream
wxOutputStream::OutputStreamBuffer
wxOutputStream::LastWrite
wxOutputStream::PutC
wxOutputStream::SeekO
wxOutputStream::TellO
wxOutputStream::Write
wxOutputStream()
Creates a dummy wxOutputStream object.
wxOutputStream(wxStreamBuffer* sbuf)
Creates an input stream using the specified stream buffer sbuf. This stream buffer can point to another stream.
~wxOutputStream()
Destructor.
wxStreamBuffer * OutputStreamBuffer()
Returns the stream buffer associated with the output stream.
size_t LastWrite() const
void PutC(char c)
Puts the specified character in the output queue and increments the stream position.
off_t SeekO(off_t pos, wxSeekMode mode)
Changes the stream current position.
off_t TellO() const
Returns the current stream position.
wxOutputStream& Write(const void *buffer, size_t size)
Writes the specified amount of bytes using the data of buffer. WARNING! The buffer absolutely needs to have at least the specified size.
This function returns a reference on the current object, so the user can test any states of the stream right away.
wxOutputStream& Write(wxInputStream& stream_in)
Reads data from the specified input stream and stores them in the current stream. The data is read until an error is raised by one of the two streams.