+ This class allows to use all methods taking a wxOutputStream reference to write
+ to in-memory data.
+
+ Example:
+ @code
+ wxMemoryOutputStream stream;
+ if (!my_wxImage.SaveFile(stream))
+ return;
+
+ // now we can access the saved image bytes:
+ wxStreamBuffer* theBuffer = stream.GetOutputStreamBuffer();
+ unsigned char byte;
+ if (theBuffer->Read(byte, 1) != 1)
+ return;
+
+ // ... do something with 'byte'...
+
+ // remember that ~wxMemoryOutputStream will destroy the internal
+ // buffer since we didn't provide our own when constructing it
+ @endcode