1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<HTML>
<head><title>wxMemoryInputStream</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxmeminputstream"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx137.htm#wxmemorydc"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx139.htm#wxmemoutputstream"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxMemoryInputStream</H2>
<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx120.htm#wxinputstream">wxInputStream</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/mstream.h><P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
wxStreamBuffer (REF NOT FOUND)<P>
<B><FONT COLOR="#FF0000">Remark</FONT></B><P>
You can create a similar stream by this way:<P>
<PRE>
wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::read);
wxInputStream *input = new wxInputStream(sb);
sb->SetBufferIO(data, data\_end);
</PRE>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic555">wxMemoryInputStream::wxMemoryInputStream</A><BR>
<A HREF="#topic556">wxMemoryInputStream::~wxMemoryInputStream</A><BR>
<P>
<HR>
<A NAME="topic555"></A>
<H3>wxMemoryInputStream::wxMemoryInputStream</H3>
<P>
<B></B> <B>wxMemoryInputStream</B>(<B>const char *</B><I> data</I>, <B>size_t</B><I> len</I>)<P>
Initializes a new read-only memory stream which will use the specified buffer
<I>data</I> of length <I>len</I>.<P>
<HR>
<A NAME="topic556"></A>
<H3>wxMemoryInputStream::~wxMemoryInputStream</H3>
<P>
<B></B> <B>~wxFileInputStream</B>()<P>
Destructor.<P>
</BODY></HTML>
|