| DLT698FcsHelperCheckFcs16 方法  | 
 
            验证当前的Fcs校验码是否正确,长度信息参数不应该包含FCS校验字节信息
            
 
        命名空间: 
     HslCommunication.Instrument.DLT.Helper
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static bool CheckFcs16(
	byte[] buffer,
	int index,
	int length
)
Public Shared Function CheckFcs16 ( 
	buffer As Byte(),
	index As Integer,
	length As Integer
) As Boolean
public:
static bool CheckFcs16(
	array<unsigned char>^ buffer, 
	int index, 
	int length
)
static member CheckFcs16 : 
        buffer : byte[] * 
        index : int * 
        length : int -> bool 
参数
- buffer
- 类型:SystemByte
 等待计算校验的字节缓存
- index
- 类型:SystemInt32
 开始计算的字节索引
- length
- 类型:SystemInt32
 等待计算的字节的长度,不包含FCS字节
返回值
类型:
Boolean是否计算符合的结果
 参见
参见