#pragma hdrstop
#endif
-#ifndef WX_PRECOMP
- #include "wx/defs.h"
-#endif
-
#if wxUSE_STREAMS
#include <stdlib.h>
wxMemoryInputStream::wxMemoryInputStream(const char *data, size_t len)
: wxInputStream()
{
+/*
m_i_streambuf->SetBufferIO((char*) data, (char*) (data+len));
m_i_streambuf->SetIntPosition(0); // seek to start pos
m_i_streambuf->Fixed(TRUE);
+*/
m_length = len;
}
char wxMemoryInputStream::Peek()
{
+/*
return m_i_streambuf->GetBufferStart()[m_i_streambuf->GetIntPosition()];
+*/
+ return 0;
}
// ----------------------------------------------------------------------------
wxMemoryOutputStream::wxMemoryOutputStream(char *data, size_t len)
: wxOutputStream()
{
+/*
if (data)
m_o_streambuf->SetBufferIO(data, data+len);
m_o_streambuf->Fixed(TRUE);
+*/
}
wxMemoryOutputStream::~wxMemoryOutputStream()