⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strmmem.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
% -----------------------------------------------------------------------------% wxMemoryInputStream% -----------------------------------------------------------------------------\section{\class{wxMemoryInputStream}}\label{wxmeminputstream}\wxheading{Derived from}\helpref{wxInputStream}{wxinputstream}\wxheading{Include files}<wx/mstream.h>\wxheading{See also}\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxMemoryOutputStream}{wxmemoutputstream}% ----------% Members% ----------\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxMemoryInputStream::wxMemoryInputStream}\label{wxmemoryinputstreamctor}\func{}{wxMemoryInputStream}{\param{const char *}{ data}, \param{size\_t}{ len}}Initializes a new read-only memory stream which will use the specified buffer{\it data} of length {\it len}. The stream does not take ownership of the buffer, i.e. the buffer will not be deleted in its destructor.\func{}{wxMemoryInputStream}{\param{const wxMemoryOutputStream&}{ stream}}Creates a new read-only memory stream, initializing it with thedata from the given output stream \arg{stream}.\membersection{wxMemoryInputStream::\destruct{wxMemoryInputStream}}\label{wxmemoryinputstreamdtor}\func{}{\destruct{wxMemoryInputStream}}{\void}Destructor.\membersection{wxMemoryInputStream::GetInputStreamBuffer}\label{wxmemoryinputstreamgetistrmbuf}\constfunc{wxStreamBuffer *}{GetInputStreamBuffer}{\void}Returns the pointer to the stream object used as an internal bufferfor that stream.% -----------------------------------------------------------------------------% wxMemoryOutputStream% -----------------------------------------------------------------------------\section{\class{wxMemoryOutputStream}}\label{wxmemoutputstream}\wxheading{Derived from}\helpref{wxOutputStream}{wxoutputstream}\wxheading{Include files}<wx/mstream.h>\wxheading{See also}\helpref{wxStreamBuffer}{wxstreambuffer}% ----------% Members% ----------\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxMemoryOutputStream::wxMemoryOutputStream}\label{wxmemoryoutputstreamctor}\func{}{wxMemoryOutputStream}{\param{char *}{ data = NULL}, \param{size\_t}{ length = 0}}If {\it data} is NULL, then it will initialize a new empty buffer which willgrow if required.\wxheading{Warning}If the buffer is created, it will be destroyed at the destruction of thestream.\membersection{wxMemoryOutputStream::\destruct{wxMemoryOutputStream}}\label{wxmemoryoutputstreamdtor}\func{}{\destruct{wxMemoryOutputStream}}{\void}Destructor.\membersection{wxMemoryOutputStream::CopyTo}\label{wxmemoryoutputstreamcopyto}\constfunc{size\_t}{CopyTo}{\param{char *}{buffer}, \param{size\_t }{len}}CopyTo allowed you to transfer data from the internal buffer ofwxMemoryOutputStream to an external buffer. {\it len} specifies the size ofthe buffer.\wxheading{Returned value}CopyTo returns the number of bytes copied to the buffer. Generally it is eitherlen or the size of the stream buffer.\membersection{wxMemoryOutputStream::GetOutputStreamBuffer}\label{wxmemoryoutputstreamgetostrmbuf}\constfunc{wxStreamBuffer *}{GetOutputStreamBuffer}{\void}Returns the pointer to the stream object used as an internal bufferfor that stream.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -