[Muduo网络库源码分析] (12) net/Buffer_cc_h缓冲区(非阻塞 IO 必备)
缓冲区(非阻塞IO必备)实现:实现Buffer类功能:缓冲区,为非阻塞IO暂时存储数据,实现高效IO知识点:string的函数实现resize()Resizesthestringcontenttoncharacters.Ifnissmallerthanthecurrentlengthofthestring,thecontentisreducedtoitsfirstncharacters,there