wxMemoryInputStream

Derived from

wxInputStream

Include files

<wx/mstream.h>

See also

wxStreamBuffer, wxMemoryOutputStream



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. that it will not delete in its destructor.



wxMemoryInputStream(const wxMemoryOutputStream& stream)

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



wxMemoryInputStream::~wxMemoryInputStream



~wxMemoryInputStream(void)

Destructor.



wxMemoryInputStream::GetInputStreamBuffer

wxStreamBuffer * GetInputStreamBuffer(void) const

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



ymasuda 平成17年11月19日