Contents Up Previous Next

wxMemoryInputStream

Derived from

wxInputStream

Include files

<wx/mstream.h>

See also

wxStreamBuffer, wxMemoryOutputStream

Members

wxMemoryInputStream::wxMemoryInputStream
wxMemoryInputStream::~wxMemoryInputStream
wxMemoryInputStream::GetInputStreamBuffer


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. The stream does not take ownership of the buffer, i.e. the buffer will not be deleted in its destructor.

wxMemoryInputStream(const wxMemoryOutputStream& stream)

Creates a new read-only memory stream, initializing it with the data from the given output stream stream.


wxMemoryInputStream::~wxMemoryInputStream

~wxMemoryInputStream()

Destructor.


wxMemoryInputStream::GetInputStreamBuffer

wxStreamBuffer * GetInputStreamBuffer() const

Returns the pointer to the stream object used as an internal buffer for that stream.