Added InputStreamBuffer() and OutputStreamBuffer() to have access to
internal buffers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3055
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
char Peek();
+ wxStreamBuffer *InputStreamBuffer() const { return m_i_streambuf; }
+
protected:
wxStreamBuffer *m_i_streambuf;
public:
wxMemoryOutputStream(char *data = NULL, size_t length = 0);
virtual ~wxMemoryOutputStream();
+ virtual size_t StreamSize() const { return m_o_streambuf->GetLastAccess(); }
+
+ wxStreamBuffer *OutputStreamBuffer() const { return m_o_streambuf; }
protected:
wxStreamBuffer *m_o_streambuf;