/// <summary> /// 释放数据缓存 /// </summary> public void FreeDataCache() { if (BufferCache != null) { if (IsFixCache) { BufferCache.FreeBuffer(Offset); } else { BufferCache.FreePoolBuffer(Buffer); } } }
/// <summary> /// 释放数据缓存 /// </summary> public void FreeDataCache() { if (BufferCache != null) { if (IsFixCache) { BufferCache.FreeBuffer(Offset); } else { BufferCache.FreePoolBuffer(Buffer); } } }