SoftLRCCalculateAcc 方法 (Byte) |
根据传入的原始字节数组,计算和校验信息,可以指定起始的偏移地址和尾部的字节数量信息
Calculate and check the information according to the incoming original byte array, you can specify the starting offset address and the number of bytes at the end
命名空间:
HslCommunication.Serial
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static int CalculateAcc(
byte[] buffer
)
Public Shared Function CalculateAcc (
buffer As Byte()
) As Integer
public:
static int CalculateAcc(
array<unsigned char>^ buffer
)
static member CalculateAcc :
buffer : byte[] -> int
参数
- buffer
- 类型:SystemByte
原始字节数组信息
返回值
类型:
Int32和校验的结果
参见