Branch: Tag:

2014-10-04

2014-10-04 08:22:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Added query_buffer_mode().

438:   <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span> + <span class='homogen--name'><b>query_buffer_mode</b></span> + </dt> + <dd><p><code><code class='datatype'>array</code>(<code class='object unresolved'>Stdio.Buffer</code>|<code class='datatype'>int(0..0)</code>) <b><span class='method'>query_buffer_mode</span>(</b><b>)</b></code></p></dd> +  + <dt class='head--doc'>Description</dt> + <dd class='body--doc'><p>Get the active input and output buffers that have been +  set with <code>set_buffer_mode()</code> (if any).</p> + </dd> + <dt class='head--doc'>Returns</dt> + <dd class='body--doc'><p>Returns an array with two elements:</p> + <table class='box'><tr><td colspan='2'>Array</td></tr> + <tr><td><code><code class='datatype'>mixed</code> <code class='key'>0</code></code></td><td><p>The current input buffer.</p> + </td></tr> + <tr><td><code><code class='datatype'>mixed</code> <code class='key'>1</code></code></td><td><p>The current output buffer.</p> + </td></tr> + </table> + </dd> + <dt class='head--doc'>See also</dt> + <dd class='body--doc'><p><code>set_buffer_mode()</code></p> + </dd></dl> +  +  + <hr /> + <dl class='group--doc'> + <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>query_read_callback</b></span><br>   <span class='homogen--type'>Method</span>   <span class='homogen--name'><b>query_write_callback</b></span><br>
598:    re-occuring again).</p>   <p> This will work with buffered output mode as well, but simply    adding more data to the output buffer will work as well.</p> + </dd> + <dt class='head--doc'>See also</dt> + <dd class='body--doc'><p><code>get_buffer_mode()</code></p>   </dd></dl>