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