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.