NetSupportWriteStreamAsync 方法 |
将缓冲区的数据写入到流里面去
Write the buffer data to the stream
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult> WriteStreamAsync(
Stream stream,
byte[] buffer
)
Public Shared Function WriteStreamAsync (
stream As Stream,
buffer As Byte()
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ WriteStreamAsync(
Stream^ stream,
array<unsigned char>^ buffer
)
static member WriteStreamAsync :
stream : Stream *
buffer : byte[] -> Task<OperateResult>
参数
- stream
- 类型:System.IOStream
数据流 - buffer
- 类型:SystemByte
缓冲区
返回值
类型:
TaskOperateResult是否写入成功
参见