EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::readRead buffer's data

说锟斤拷

public EventBufferEvent::read ( int $size ) : string

Removes up to size bytes from the input buffer. Returns a string of data read from the input buffer.

锟斤拷锟斤拷

size

Maximum number of bytes to read

锟斤拷锟斤拷值

Returns string of data read from the input buffer.

锟轿硷拷