1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Data stream classes
4 // Author: Guilhem Lavaux
8 // Copyright: (c) Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DATSTREAM_H_
13 #define _WX_DATSTREAM_H_
16 #pragma interface "datstrm.h"
19 #include <wx/stream.h>
23 class WXDLLEXPORT wxDataInputStream
: public wxFilterInputStream
{
25 wxDataInputStream(wxInputStream
& s
);
26 virtual ~wxDataInputStream();
32 wxString
ReadString();
35 class WXDLLEXPORT wxDataOutputStream
: public wxFilterOutputStream
{
37 wxDataOutputStream(wxOutputStream
& s
);
38 virtual ~wxDataOutputStream();
40 void Write32(wxUint32 i
);
41 void Write16(wxUint16 i
);
42 void Write8(wxUint8 i
);
43 void WriteDouble(double d
);
44 void WriteString(const wxString
& string
);