autodoc.git / traditional_manual / chapter_21.html

version» Context lines:

autodoc.git/traditional_manual/chapter_21.html:70554:      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>File supports tty operations.</p>   </dd></dl>   </dd></dl><dl><dt><h2 class='header'>Class <b class='ms datatype'>_Stdio.Buffer</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>A buffer to use as input or buffering when doing I/O. It is    similar to <code>String.Buffer</code>, but can only contain 8bit data and is    designed for protocol parsing. It is optimized for reading from -  the beginning and adding to the end, and will try to minimize the +  the beginning and adding to the end, and will try to minimise the    amount of data copying that is done.</p>   <p> The class maintains two separate offsets, one for reading and one    for writing. The functions that add data all do so at the write    offset (the end of the buffer), and reading is done from the read    offset (the start of the buffer).</p>   <p> The class can also be used to directly read from and write to    filedescriptors if so desired. This eliminates at least one memory    copy.</p>   </dd>   <dt class='head--doc'>Note</dt>