NamedPipeClientBaseProtectedSendAsync(IListArraySegmentByte) 方法
异步发送经过处理的数据。
如果ProtectedDataHandlingAdapter未设置或者不支持拼接发送,则将transferBytes合并到一个连续的内存块中再发送。
如果ProtectedDataHandlingAdapter已设置且支持拼接发送,则直接发送transferBytes。
命名空间: TouchSocket.NamedPipe程序集: TouchSocket.NamedPipe (在 TouchSocket.NamedPipe.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
protected Task ProtectedSendAsync(
IList<ArraySegment<byte>> transferBytes
)
Protected Function ProtectedSendAsync (
transferBytes As IList(Of ArraySegment(Of Byte))
) As Task
member ProtectedSendAsync :
transferBytes : IList<ArraySegment<byte>> -> Task
- transferBytes IListArraySegmentByte
- 待发送的字节数据列表,每个元素包含要传输的字节片段。
Task发送任务。