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 prepend data to the front of the bufferphp eventbuffer read data from a file onto the end of the bufferphp eventbufferevent closes file descriptor associated with the current buffer eventphp eventbufferevent connect buffer event s file descriptor to given address or unix socketphp 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 set the read and write timeout for a buffer eventphp eventbufferevent adjusts read and/or write watermarksphp eventbufferevent returns most recent openssl error reported on the 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 data from a glo instance and save it in a filephp libevent 函数 read data from a buffered eventphp gearmantask read work or result data into a buffer for a taskphp sessionhandlerinterface read session dataphp 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.
关注编程学问公众号