ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## Buffer::write ### 接口说明 >写入一段内存到缓冲区 > +++ put:write var:buff=Buffer类# var:len=需要读取的长度# <<< success 无返回结果 +++ ### 代码演示 ~~~ var buffer = new Buffer; var writeBuffer = new Buffer; writeBuffer.writeString("helloworld"); buffer.write(readBuffer,writeBuffer.size()); ~~~