<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.eventbuffer.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'eventbuffer.readline.php',
    1 => 'EventBuffer::readLine',
    2 => 'Extracts a line from the front of the buffer',
  ),
  'up' => 
  array (
    0 => 'class.eventbuffer.php',
    1 => 'EventBuffer',
  ),
  'prev' => 
  array (
    0 => 'eventbuffer.readfrom.php',
    1 => 'EventBuffer::readFrom',
  ),
  'next' => 
  array (
    0 => 'eventbuffer.search.php',
    1 => 'EventBuffer::search',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/event/eventbuffer/readline.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="eventbuffer.readline" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventBuffer::readLine</h1>
  <p class="verinfo">(PECL event &gt;= 1.2.6-beta)</p><p class="refpurpose"><span class="refname">EventBuffer::readLine</span> &mdash; <span class="dc-title">Extracts a line from the front of the buffer</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventbuffer.readline-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>EventBuffer::readLine</strong></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$eol_style</code>
   </span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Extracts a line from the front of the buffer and returns it in a newly
   allocated string. If there is not a whole line to read, the function
   returns <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>. The line terminator is not included in the copied string.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventbuffer.readline-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt>
     <code class="parameter">eol_style</code>
    </dt>
    <dd>
     <p class="para">
      One of
      <a href="class.eventbuffer.php#eventbuffer.constants" class="link">EventBuffer:EOL_* constants</a>.
     </p>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventbuffer.readline-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   On success returns the line read from the buffer, otherwise <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-eventbuffer.readline-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li>
    <span class="methodname"><a href="eventbuffer.copyout.php" class="methodname" rel="rdfs-seeAlso">EventBuffer::copyout()</a> - Copies out specified number of bytes from the front of the buffer</span>
   </li>
   <li>
    <span class="methodname"><a href="eventbuffer.drain.php" class="methodname" rel="rdfs-seeAlso">EventBuffer::drain()</a> - Removes specified number of bytes from the front of the buffer
  without copying it anywhere</span>
   </li>
   <li>
    <span class="methodname"><a href="eventbuffer.pullup.php" class="methodname" rel="rdfs-seeAlso">EventBuffer::pullup()</a> - Linearizes data within buffer
  and returns it's contents as a string</span>
   </li>
   <li>
    <span class="methodname"><a href="eventbuffer.read.php" class="methodname" rel="rdfs-seeAlso">EventBuffer::read()</a> - Read data from an evbuffer and drain the bytes read</span>
   </li>
   <li>
    <span class="methodname"><a href="eventbuffer.appendfrom.php" class="methodname" rel="rdfs-seeAlso">EventBuffer::appendFrom()</a> - Moves the specified number of bytes from a source buffer to the
  end of the current buffer</span>
   </li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>