Swoole\Buffer::write

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

Swoole\Buffer::writeWrite data to the memory buffer. The memory allocated for the buffer will not be changed.

说明

public Swoole\Buffer::write ( integer $offset , string $data ) : void

参数

offset

The offset.

data

The data to write to the memory buffer.

返回值

相关文章
php sqlite 函数 execute a query that does not prefetch and buffer all dataphp swoole 函数 write data to a socketphp mnogosearch 函数 free memory allocated for ispell dataphp harudoc write the document data to the output bufferphp solrquery returns whether or not the query will be boosted by the interesting term relevancephp solrquery returns the treshold frequency at which words will be ignored which do not occur in at least this many docsphp swoole async write data to a file stream asynchronously.php 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 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 channel write and push data into swoole channel.php swoole event write data to the socket.php swoole lock try to acquire the lock. it will block if the lock is not available.php swoole lock try to lock a read write lock for reading and return straight away even the lock is not available.php swoole process write data into the pipe and communicate with the parent process or child processes.
关注编程学问公众号