Method | Description | |
---|---|---|
add_bits ( int bitstring, int length ) : void |
Feed a bitstring to the crc calculation (0 < length <= 32).
|
|
checksum ( ) : short |
Return the calculated checksum. Erase it for next calls to add_bits().
|
Method | Description | |
---|---|---|
Crc16 ( ) : System |
public add_bits ( int bitstring, int length ) : void | ||
bitstring | int | |
length | int | |
return | void |