public class Crc extends Object
| Constructor and Description |
|---|
Crc() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
crc(byte[] crcing,
int pos,
int len)
获得CRC校验结果,除校验位字节外,其他所有字节的异或值
|
public static byte crc(byte[] crcing,
int pos,
int len)
throws IllegalArgumentException
crcing - 校验源pos - 起始下标len - 长度IllegalArgumentException - 校验失败Copyright © 2017. All rights reserved.