一款简单易用的基础网络通讯组件库。

CacheDataHandlingAdapterTryGetCache(Byte) 方法

获取当前缓存, 如果缓存超时,或者不存在,均会返回false。 如果获取成功,则会清空内部缓存。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected bool TryGetCache(
	out byte[] buffer
)

参数

buffer  Byte

[缺少 "M:TouchSocket.Core.CacheDataHandlingAdapter.TryGetCache(System.Byte[]@)" 的 <param name="buffer"/> 文档]

返回值

Boolean

[缺少 "M:TouchSocket.Core.CacheDataHandlingAdapter.TryGetCache(System.Byte[]@)" 的 <returns> 文档]

参见