📄 class_output_proxy.html
字号:
</table></dl><p>Implements <a class="el" href="class_buffered_transformation.html#d396dcb42260f23125a35ec0e5d17d55">BufferedTransformation</a>.<p>Definition at line <a class="el" href="filters_8h-source.html#l00464">464</a> of file <a class="el" href="filters_8h-source.html">filters.h</a>.</div></div><p><a class="anchor" name="0b7247fde67865b260d55763e14fdfa5"></a><!-- doxytag: member="OutputProxy::PutModifiable2" ref="0b7247fde67865b260d55763e14fdfa5" args="(byte *begin, size_t length, int messageEnd, bool blocking)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t OutputProxy::PutModifiable2 </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>inString</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>length</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>messageEnd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>blocking</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td> </tr> </table></div><div class="memdoc"><p>input multiple bytes that may be modified by callee for blocking or non-blocking processing <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>messageEnd</em> </td><td>means how many filters to signal MessageEnd to, including this one </td></tr> </table></dl><p>Reimplemented from <a class="el" href="class_buffered_transformation.html#770bf11f26d4dec66423a7dc2d36843d">BufferedTransformation</a>.<p>Definition at line <a class="el" href="filters_8h-source.html#l00466">466</a> of file <a class="el" href="filters_8h-source.html">filters.h</a>.</div></div><p><a class="anchor" name="a6c68d78790266c60fa8b27176fbf969"></a><!-- doxytag: member="OutputProxy::Flush" ref="a6c68d78790266c60fa8b27176fbf969" args="(bool hardFlush, int propagation=-1, bool blocking=true)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">bool OutputProxy::Flush </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>hardFlush</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>propagation</em> = <code>-1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>blocking</em> = <code>true</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td> </tr> </table></div><div class="memdoc"><p>flush buffered input and/or output <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hardFlush</em> </td><td>is used to indicate whether all data should be flushed </td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Hard flushes must be used with care. It means try to process and output everything, even if there may not be enough data to complete the action. For example, hard flushing a <a class="el" href="class_hex_decoder.html" title="Decode base 16 data back to bytes.">HexDecoder</a> would cause an error if you do it after inputing an odd number of hex encoded characters. For some types of filters, for example <a class="el" href="class_zlib_decompressor.html" title="ZLIB Decompressor (RFC 1950).">ZlibDecompressor</a>, hard flushes can only be done at "synchronization points". These synchronization points are positions in the data stream that are created by hard flushes on the corresponding reverse filters, in this example <a class="el" href="class_zlib_compressor.html" title="ZLIB Compressor (RFC 1950).">ZlibCompressor</a>. This is useful when zlib compressed data is moved across a network in packets and compression state is preserved across packets, as in the ssh2 protocol. </dd></dl><p>Implements <a class="el" href="class_custom_flush_propagation.html">CustomFlushPropagation< Sink ></a>.<p>Definition at line <a class="el" href="filters_8h-source.html#l00470">470</a> of file <a class="el" href="filters_8h-source.html">filters.h</a>.</div></div><p><a class="anchor" name="ecf5c216c060f2e6adfeb4019e6ad797"></a><!-- doxytag: member="OutputProxy::MessageSeriesEnd" ref="ecf5c216c060f2e6adfeb4019e6ad797" args="(int propagation=-1, bool blocking=true)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">bool OutputProxy::MessageSeriesEnd </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>propagation</em> = <code>-1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>blocking</em> = <code>true</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td> </tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -