Php/docs/eventbufferevent.read

提供:Dev Guides
< Php
2020年12月14日 (月) 11:19時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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.


参考