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.

参见

相关文章
php eventbuffer read data from a file onto the end of the bufferphp eventbufferevent closes file descriptor associated with the current buffer eventphp eventbufferevent disable events read write or both on a buffer eventphp eventbufferevent enable events read write or both on a buffer eventphp eventbufferevent read buffer s dataphp eventbufferevent drains the entire contents of the input buffer and places them into bufphp eventbufferevent assigns read write and event status callbacksphp eventbufferevent set the read and write timeout for a buffer eventphp eventbufferevent create a new ssl buffer event to send its data over another buffer eventphp eventbufferevent creates a new ssl buffer event to send its data over an ssl on a socketphp eventbufferevent adds data to a buffer event s output bufferphp cubrid 函数 read from blob/clob dataphp gd 和图像处理 函数 取得 getimagesize,exif read data,exif thumbnail,exif imagetype 所返回的图像类型的 mime 类型php mailparse 函数 incrementally parse data into bufferphp openal 函数 load a buffer with dataphp exif 函数 别名 exif read dataphp gearmantask read work or result data into a buffer for a taskphp swoole buffer append the string or binary data at the end of the memory buffer and return the new size of memory allocated.php swoole buffer read data from the memory buffer based on offset and length.php swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.
关注编程学问公众号