CustomDataHandlingAdapterTRequestSingleTByteBlock 方法
处理单个字节块,提取请求对象。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
protected FilterResult Single<TByteBlock>(
ref TByteBlock byteBlock,
out TRequest request
)
where TByteBlock : IByteBlock
Protected Function Single(Of TByteBlock As IByteBlock) (
ByRef byteBlock As TByteBlock,
<OutAttribute> ByRef request As TRequest
) As FilterResult
member Single :
byteBlock : 'TByteBlock byref *
request : 'TRequest byref -> FilterResult when 'TByteBlock : IByteBlock
- byteBlock TByteBlock
- 字节块,将被解析以提取请求对象。
- request TRequest
- 输出参数,提取出的请求对象。
- TByteBlock
- 字节块类型,需要实现IByteBlock接口。
FilterResult返回过滤结果,指示处理的状态。