|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectjavaFlacEncoder.CRC16
public class CRC16
Class to calculate a CRC16 checksum.
| Field Summary | |
|---|---|
static int |
DEBUG_LEV
For Debugging: Higher level equals more debug statements |
protected int |
workingCRC
working checksum stored between calls to update(..) |
| Constructor Summary | |
|---|---|
CRC16()
Constructor. |
|
| Method Summary | |
|---|---|
short |
checksum()
|
void |
reset()
Resets stored data, preparing object for a new checksum. |
int |
update(byte input)
|
int |
update(byte[] input,
int start,
int stop)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int DEBUG_LEV
protected int workingCRC
| Constructor Detail |
|---|
public CRC16()
| Method Detail |
|---|
public void reset()
public short checksum()
public int update(byte input)
public int update(byte[] input,
int start,
int stop)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||