autodoc.git / traditional_manual / chapter_21.html

version» Context lines:

autodoc.git/traditional_manual/chapter_21.html:41788:   <dd><p><code><code class='datatype'>void</code> <b><span class='method'>add_source</span>(</b><code class='datatype'>mixed</code> <code class='argument'>source</code>, <code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>start</code>, <code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>length</code><b>)</b></code><br>   <code><code class='datatype'>void</code> <b><span class='method'>add_source</span>(</b><code class='datatype'>mixed</code> <code class='argument'>source</code>, <code class='datatype'>function</code>(<code class='object unresolved'>Shuffle</code>, <code class='datatype'>int</code>:<code class='datatype'>array</code>(<code class='datatype'>string</code>)) <code class='argument'>wrap_cb</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Add a new source to the list of data sources.    The data from the sources will be sent in order.</p>   <p> If start and length are not specified, the whole source will be    sent, if start but not length is specified, the whole source,    excluding the first <code>start</code> bytes will be sent.</p>   <p> Currently supported sources</p> - <dl class='group--doc'><dt>string</dt> + <dl class='group--doc'><dt>int</dt> + <dd><p>An ordinary 8-bit wide byte.</p> + </dd> + <dt>string</dt>   <dd><p>An ordinary 8-bit wide pike string.</p>   </dd>   <dt>System.Memory</dt>   <dd><p>An initialized instance of the System.Memory class.</p>   </dd>   <dt>Stdio.Buffer</dt>   <dd><p>A Stdio.Buffer object which will be called once    with consume() and read_buffer() to acquire the data.</p>   </dd>   <dt>Stdio.File</dt>