public class FCS16 extends Checksum
| Modifier and Type | Field | Description |
|---|---|---|
protected int[] |
crc_table |
|
static int[] |
crctab |
|
protected int |
polynom |
| Constructor | Description |
|---|---|
FCS16() |
| Modifier and Type | Method | Description |
|---|---|---|
int[] |
getGenTable() |
|
int |
getOrder() |
|
long |
getValue() |
Returns the value of the checksum.
|
void |
reset() |
Resets the checksum to its initial value for further use.
|
boolean |
update(int b) |
Updates the checksum with the specified byte.
|
protected int polynom
protected int[] crc_table
public static final int[] crctab
public int[] getGenTable()
public void reset()
Checksumpublic boolean update(int b)
Checksumpublic long getValue()
ChecksumgetValue in class ChecksumChecksum.getByteArray()