C# Class javazoom.jl.decoder.Crc16

16-Bit CRC checksum
Datei anzeigen Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

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().

Private Methods

Method Description
Crc16 ( ) : System

Method Details

add_bits() public method

Feed a bitstring to the crc calculation (0 < length <= 32).
public add_bits ( int bitstring, int length ) : void
bitstring int
length int
return void

checksum() public method

Return the calculated checksum. Erase it for next calls to add_bits().
public checksum ( ) : short
return short