-\helpref{wxStreamBuffer}{wxstreamBuffer}
-
-\wxheading{Remark}
-
-You can create a similar stream by this way:
-
-\begin{verbatim}
- wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::write);
- wxOutputStream *input = new wxOutputStream(sb);
-
- // If there are data
- sb->SetBufferIO(data, data\_end);
- // Else
- sb->Fixed(FALSE);
-\end{verbatim}
-
-This way is also useful to create read/write memory stream:
-
-\begin{verbatim}
- wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::read\_write);
- wxOutputStream *output = new wxOutputStream(sb);
- wxInputStream *input = new wxInputStream(sb);
-
- // If there are data
- sb->SetBufferIO(data, data\_end);
- // Else
- sb->Fixed(FALSE);
-\end{verbatim}