-
- char *GetData() { Sync(); return m_buffer; }
- size_t GetLength() { Sync(); return m_length; }
-
- protected:
-
- size_t DoWrite(const void *buffer, size_t size);
- off_t DoSeekOutput(off_t pos, wxSeekMode mode);
- off_t DoTellOutput() const { return m_position_o; }
-
- protected:
- off_t m_position_o;
-};
-
-class wxMemoryStream: public wxMemoryInputStream, public wxMemoryOutputStream {
- public:
- wxMemoryStream(char *data = NULL, size_t length = 0);
- virtual ~wxMemoryStream();