]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mstream.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Memory stream classes
4 // Author: Guilhem Lavaux
8 // Copyright: (c) Guilhem Lavaux
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_WXMMSTREAM_H__
12 #define _WX_WXMMSTREAM_H__
14 #include <wx/stream.h>
16 class wxMemoryInputStream
: public wxInputStream
{
18 wxMemoryInputStream(const char *data
, size_t length
);
19 virtual ~wxMemoryInputStream();
24 class wxMemoryOutputStream
: public wxOutputStream
{
26 wxMemoryOutputStream(char *data
= NULL
, size_t length
= 0);
27 virtual ~wxMemoryOutputStream();