|
|||||||||
| Home >> All >> plp >> link >> [ plpframeparser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
plp.link.plpframeparser
Class CRCParser

java.lang.Objecttools.AbstractByteArrayParser
plp.link.plpframeparser.CRCParser
- All Implemented Interfaces:
- tools.ByteArrayParser
- public class CRCParser
- extends tools.AbstractByteArrayParser
Parses the CRC part of the frame The CRC part is at least 2 bytes long, and has a max length of 4 getParsedData() always returns 2 bytes when the parse() returns true. The CRC part may be stuffed
| Field Summary | |
private tools.bytestuffer.ByteStuffer |
crcStuffer
|
| Fields inherited from class tools.AbstractByteArrayParser |
|
| Constructor Summary | |
CRCParser()
|
|
| Method Summary | |
protected tools.bytestuffer.ByteStuffer |
getByteStuffer()
|
boolean |
parse(byte[] data,
int startIndex,
int endIndex)
|
| Methods inherited from class tools.AbstractByteArrayParser |
getEndIndex, getParsedData, getStartIndex, parse, setEndIndex, setParsedData, setStartIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
crcStuffer
private tools.bytestuffer.ByteStuffer crcStuffer
| Constructor Detail |
CRCParser
public CRCParser()
| Method Detail |
parse
public boolean parse(byte[] data,
int startIndex,
int endIndex)
getByteStuffer
protected tools.bytestuffer.ByteStuffer getByteStuffer()
|
|||||||||
| Home >> All >> plp >> link >> [ plpframeparser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC