Swoole\Buffer::append

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::appendAppend the string or binary data at the end of the memory buffer and return the new size of memory allocated.

说明

public Swoole\Buffer::append ( string $data ) : integer

参数

data

The string or binary data to append at the end of the memory buffer.

返回值

The new size of the memory buffer.

相关文章
php domcharacterdata append the string to the end of the character data of the nodephp eventbuffer append data to the end of an event bufferphp eventbuffer linearizes data within buffer and returns it s contents as a stringphp eventbuffer read data from a file onto the end of the bufferphp eventbufferevent create a new ssl buffer event to send its data over another buffer eventphp ncurses 函数 add string at new position in windowphp 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 reset the memory buffer.php swoole buffer fixed size memory blocks allocation.php swoole buffer destruct the swoole memory buffer.php swoole buffer expand the size of memory buffer.php swoole buffer read data from the memory buffer based on offset and length.php swoole buffer release the memory to os which is not used by the memory buffer.php swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.php swoole buffer get the string value of the memory buffer.php swoole buffer write data to the memory buffer. the memory allocated for the buffer will not be changed.php swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole server delay execution of the callback function at the end of current eventloop.php swoole websocket server get a pack of binary data to send in a single frame.php swoole websocket server unpack the binary data received from the client.
关注编程学问公众号