S7ObjectGetValueUint32 方法 |
从缓存中获取动态长度的uint类型数据
命名空间:
HslCommunication.Profinet.Siemens.S7PlusHelper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public static uint GetValueUint32(
byte[] buffer,
ref int index,
bool disableVlq = false
)
Public Shared Function GetValueUint32 (
buffer As Byte(),
ByRef index As Integer,
Optional disableVlq As Boolean = false
) As UInteger
public:
static unsigned int GetValueUint32(
array<unsigned char>^ buffer,
int% index,
bool disableVlq = false
)
static member GetValueUint32 :
buffer : byte[] *
index : int byref *
?disableVlq : bool
(* Defaults:
let _disableVlq = defaultArg disableVlq false
*)
-> uint32
参数
- buffer
- 类型:SystemByte
缓存值 - index
- 类型:SystemInt32
索引信息 - disableVlq (Optional)
- 类型:SystemBoolean
是否禁用可变长度编码
返回值
类型:
UInt32结果值
参见