- Creates a new read-only memory stream, initializing it with the
- data from the given input stream @e stream.
- The @a len argument specifies the amount of data to read from
- the @e stream. Setting it to @e wxInvalidOffset means that
- the @a stream is to be read entirely (i.e. till the EOF is reached).
+ 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 void* data, size_t len);
+
+ /**
+ Creates a new read-only memory stream, initializing it with the data from
+ the given output stream @a stream.