Read buffer’s data

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.

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *