ByteTransformHelperSetByteToSoftBuffer 方法 |
将一个字节数组的内容依次分配到多个SoftBuffer实例中
Distributes the contents of a byte array into multiple SoftBuffer instances sequentially.
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public static void SetByteToSoftBuffer(
byte[] buffer,
int startIndex,
params SoftBuffer[] softBuffers
)
Public Shared Sub SetByteToSoftBuffer (
buffer As Byte(),
startIndex As Integer,
ParamArray softBuffers As SoftBuffer()
)
public:
static void SetByteToSoftBuffer(
array<unsigned char>^ buffer,
int startIndex,
... array<SoftBuffer^>^ softBuffers
)
static member SetByteToSoftBuffer :
buffer : byte[] *
startIndex : int *
softBuffers : SoftBuffer[] -> unit
参数
- buffer
- 类型:SystemByte
The source byte array to be distributed. - startIndex
- 类型:SystemInt32
起始偏移的字节索引 - softBuffers
- 类型:HslCommunication.BasicFrameworkSoftBuffer
The target SoftBuffer instances to receive the byte data.
参见