#include <wx/mstream.h>

Public Member Functions | |
| wxMemoryInputStream (const void *data, size_t len) | |
| wxMemoryInputStream (const wxMemoryOutputStream &stream) | |
| wxMemoryInputStream (wxInputStream &stream, wxFileOffset len=wxInvalidOffset) | |
| virtual | ~wxMemoryInputStream () |
| wxStreamBuffer * | GetInputStreamBuffer () const |
| wxMemoryInputStream::wxMemoryInputStream | ( | const void * | 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::wxMemoryInputStream | ( | const wxMemoryOutputStream & | stream | ) |
Creates a new read-only memory stream, initializing it with the data from the given output stream stream.
| wxMemoryInputStream::wxMemoryInputStream | ( | wxInputStream & | stream, | |
| wxFileOffset | len = wxInvalidOffset | |||
| ) |
Creates a new read-only memory stream, initializing it with the data from the given input stream stream.
The len argument specifies the amount of data to read from the stream. Setting it to wxInvalidOffset means that the stream is to be read entirely (i.e. till the EOF is reached).
| virtual wxMemoryInputStream::~wxMemoryInputStream | ( | ) | [virtual] |
Destructor.
| wxStreamBuffer* wxMemoryInputStream::GetInputStreamBuffer | ( | ) | const |
Returns the pointer to the stream object used as an internal buffer for that stream.
|
[ top ] |