文字

EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::readRead buffer's data

说明

public string EventBufferEvent::read ( int $size )

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.

参见

  • EventBufferEvent::readBuffer() - Drains the entire contents of the input buffer and places them into buf
上一篇: 下一篇: