|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.util.algorithm.crc.Crc16
Used to calculate the CRC-16 (cyclical redundancy check) for an array of bytes.
Method Summary | |
static int |
getCrc16(byte[] buff,
int buffLen,
int crcSeed)
calculate the crc for the passed buffer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static int getCrc16(byte[] buff, int buffLen, int crcSeed)
buff
- byte array to calculate CRC ofbuffLen
- number of bytes in array to calculate againstcrcSeed
- starting seed for CRC calculation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |