« EventBuffer::read
EventBuffer::readLine »

EventBuffer::readFrom

(PECL event >= 1.7.0)

EventBuffer::readFrom — Read data from a file onto the end of the buffer

説明

public function EventBuffer::read( mixed $fd , int $howmuch ): int

Read data from the file specified by fd onto the end of the buffer.

パラメータ

fd

Socket resource, stream, or numeric file descriptor.

howmuch

Maximum number of bytes to read.

戻り値

Returns the number of bytes read, or false on failure.

参考

関連キーワード:
EventBuffer   buffer   number   bytes   Read   onto   read   specified   front   readLine   readFrom   howmuch   event   mixed   Socket   resource   stream   numeric   descriptor   Maximum   failure   参考   copyout   Copies   drain
関連する関数・ページ:
eventbuffer.read   eventbuffer.copyout   eventbuffer.readline   eventbuffer.drain   eventbuffer.appendfrom   eventbuffer.pullup