Contents Up Previous Next

wxMemoryInputStream

Derived from

wxInputStream

Include files

<wx/mstream.h>

See also

wxStreamBuffer (REF NOT FOUND)

Remark

You can create a similar stream by this way:

  wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::read);
  wxInputStream *input = new wxInputStream(sb);

  sb->SetBufferIO(data, data\_end);
Members

wxMemoryInputStream::wxMemoryInputStream
wxMemoryInputStream::~wxMemoryInputStream


wxMemoryInputStream::wxMemoryInputStream

wxMemoryInputStream(const char * data, size_t len)

Initializes a new read-only memory stream which will use the specified buffer data of length len.


wxMemoryInputStream::~wxMemoryInputStream

~wxFileInputStream()

Destructor.