@warning
If the buffer is created, it will be destroyed at the destruction of the stream.
*/
- wxMemoryOutputStream(char* data = NULL, size_t length = 0);
+ wxMemoryOutputStream(void* data = NULL, size_t length = 0);
/**
Destructor.
Allows you to transfer data from the internal buffer of wxMemoryOutputStream
to an external buffer. @a len specifies the size of the buffer.
*/
- size_t CopyTo(char* buffer, size_t len) const;
+ size_t CopyTo(void* buffer, size_t len) const;
/**
Returns the pointer to the stream object used as an internal buffer
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 char* data, size_t len);
+ wxMemoryInputStream(const void* data, size_t len);
/**
Creates a new read-only memory stream, initializing it with the data from