RegularByteTransformTransUInt32 方法 (Byte, Int32, Int32) |
从缓存中提取uint数组结果,需要指定起始的字节索引,按照字节为单位,然后指定提取的 uint 数组的长度,如果传入 10 ,则表示提取 10 个连续的 uint 数据,该数据共占用 40 字节。
To extract the uint array result from the cache, you need to specify the starting byte index, in bytes,
and then specify the length of the extracted uint array. If 10 is passed in, it means to extract 10 consecutive uint data. Occupies 40 bytes.
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public virtual uint[] TransUInt32(
byte[] buffer,
int index,
int length
)
Public Overridable Function TransUInt32 (
buffer As Byte(),
index As Integer,
length As Integer
) As UInteger()
public:
virtual array<unsigned int>^ TransUInt32(
array<unsigned char>^ buffer,
int index,
int length
)
abstract TransUInt32 :
buffer : byte[] *
index : int *
length : int -> uint32[]
override TransUInt32 :
buffer : byte[] *
index : int *
length : int -> uint32[]
参数
- buffer
- 类型:SystemByte
缓存数据 - index
- 类型:SystemInt32
索引位置 - length
- 类型:SystemInt32
读取的数组长度
返回值
类型:
UInt32uint数组对象
实现
IByteTransformTransUInt32(Byte, Int32, Int32)参见