public class FCS16 extends Checksum
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
crc_table |
static int[] |
crctab |
protected int |
polynom |
| Constructor and Description |
|---|
FCS16() |
| Modifier and Type | Method and 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()