点击或拖拽改变大小

SoftLRCCalculateAcc 方法 (Byte, Int32, Int32)

根据传入的原始字节数组,计算和校验信息,可以指定起始的偏移地址和尾部的字节数量信息
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 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static int CalculateAcc(
	byte[] buffer,
	int headCount,
	int lastCount
)

参数

buffer
类型:SystemByte
原始字节数组信息
headCount
类型:SystemInt32
起始的偏移地址信息
lastCount
类型:SystemInt32
尾部的字节数量信息

返回值

类型:Int32
和校验的结果
参见