#include "iobuffer.h" #include "pool.h" #include CIOBuffer::CIOBuffer() { Length = (0); NextBuf = (nullptr); PrevBuf = (nullptr); } CIOBuffer::~CIOBuffer() { } CIOBuffer* CIOBuffer::Alloc(const char * file, int line) { // std::cout<<"alloc:"<::GetInstance().Alloc(); } void CIOBuffer::OnFree() { Alloc_Pool::GetInstance().Free(this); } CRef::CRef() :m_lRef(1) { } void CRef::AddRef() { m_lRef++; } long CRef::Release(const char * file, int line) { // std::cout<<"free:"<