.\" This is a wxWidgets manpage page generated from the XML docs .TH wxMemoryOutputStream 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxMemoryOutputStream \- Memory output stream class .SH DESCRIPTION .SH "PARENTS" wxOutputStream .SH "INCLUDE FILES" wx/mstream.h .SH MEMBERS .SS wxMemoryOutputStream (char * data = NULLsize_t length = 0) If data is NULL, then it will initialize a new empty buffer which will grow if required. .SS ~wxMemoryOutputStream () Destructor. .SS size_t CopyTo (char *buffersize_t len) CopyTo allowed you to transfer data from the internal buffer of wxMemoryOutputStream to an external buffer. len specifies the size of the buffer. \wxheading{Returned value} CopyTo returns the number of bytes copied to the buffer. Generally it is either len or the size of the stream buffer. .SS wxStreamBuffer * GetOutputStreamBuffer () Returns the pointer to the stream object used as an internal buffer for that stream. .SH "SEE ALSO" wxOutputStream wxStreamBuffer .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.