added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-17 15:28:28 +00:00
parent badea31707
commit 764471557e
5 changed files with 87 additions and 3 deletions

View File

@@ -33,6 +33,16 @@ buffer, i.e. the buffer will not be deleted in its destructor.
Creates a new read-only memory stream, initializing it with the
data from the given output stream \arg{stream}.
\func{}{wxMemoryInputStream}{\param{wxInputStream\&}{ stream}, \param{wxFileOffset}{ len = wxInvalidOffset}}
Creates a new read-only memory stream, initializing it with the
data from the given input stream \arg{stream}.
The \arg{len} argument specifies the amount of data to read from
the \arg{stream}. Setting it to {\it wxInvalidOffset} means that
the \arg{stream} is to be read entirely (i.e. till the EOF is reached).
\membersection{wxMemoryInputStream::\destruct{wxMemoryInputStream}}\label{wxmemoryinputstreamdtor}
\func{}{\destruct{wxMemoryInputStream}}{\void}