Branch: Tag:

2016-05-25

2016-05-25 17:07:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.File: Support non-empty buffers in set_buffer_mode().

Stdio.File()->set_buffer_mode() now has a defined behaviour for
adding and removing buffers that aren't empty.

The behaviour is the same as for set_buffer_mode() in SSL.File.

612:    objects, in the directions you included buffers.</p>   </dd>   <dt class='head--doc'><span id='p-in'></span>Parameter <code class='parameter'>in</code></dt> - <dd></dd><dd class='body--doc'><p>Input buffer.</p> + <dd></dd><dd class='body--doc'><p>Input buffer. If this buffer is non-empty, its contents +  will be returned after any already received data.</p>   </dd>   <dt class='head--doc'><span id='p-out'></span>Parameter <code class='parameter'>out</code></dt> - <dd></dd><dd class='body--doc'><p>Output buffer.</p> + <dd></dd><dd class='body--doc'><p>Output buffer. If this buffer is non-empty, its contents +  will be sent after any data already queued for sending.</p>   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>Normally you call <code>write</code> to re-trigger the write callback if