chenshuo / muduo

Event-driven network library for multi-threaded Linux server in C++11
https://github.com/chenshuo/muduo
Other
14.89k stars 5.18k forks source link

muduo::net::Buffer中有unread方法吗 #656

Closed 294068860 closed 1 year ago

294068860 commented 1 year ago

muduo::net::Buffer中有unread方法吗,我找了好几个版本都没有,但是同事以前写的代码明明调用了这个函数,是怎么回事啊 buff->unread

ggandycong commented 1 year ago

刘德聪,已经收到你的邮件,请你放心 祝你生活愉快,笑口常开

chenshuo commented 1 year ago

刘德聪,已经收到你的邮件,请你放心 祝你生活愉快,笑口常开

Please don't spam.

chenshuo commented 1 year ago

muduo::net::Buffer中有unread方法吗,我找了好几个版本都没有,但是同事以前写的代码明明调用了这个函数,是怎么回事啊 buff->unread

Buffer::prepend() ?