入门指引 Server Client Process AsyncIO Memory HttpServer WebSocket 高级 其他

发布于 2015-08-09 09:45:31 | 523 次阅读 | 评论: 0 | 来源: 网络整理

swoole1.7.5提供了一个swoole_buffer类,让PHP开发者可以像C一样直接读写内存,提升程序的性能,又不用担心内存越界。swoole_buffer会检测offset。

属性列表

  • swoole_buffer->$length,当前数据的长度
  • swoole_buffer->$capacity,当前缓存区的容量

 子目录

swoole_buffer->__construct 
swoole_buffer->append 
swoole_buffer->substr 
swoole_buffer->clear 
swoole_buffer->expand 
swoole_buffer->write 
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务