SoftLRCCalculateAccAndFill 方法 |
计算数据的和校验,并且输入和校验的值信息
Calculate the sum check of the data, and enter the value information of the sum check
命名空间:
HslCommunication.Serial
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static void CalculateAccAndFill(
byte[] buffer,
int headCount,
int lastCount
)
Public Shared Sub CalculateAccAndFill (
buffer As Byte(),
headCount As Integer,
lastCount As Integer
)
public:
static void CalculateAccAndFill(
array<unsigned char>^ buffer,
int headCount,
int lastCount
)
static member CalculateAccAndFill :
buffer : byte[] *
headCount : int *
lastCount : int -> unit
参数
- buffer
- 类型:SystemByte
原始字节数组信息 - headCount
- 类型:SystemInt32
起始的偏移地址信息 - lastCount
- 类型:SystemInt32
尾部的字节数量信息
参见