C# Class cyberh0me.Utilities.CRC

Afficher le fichier Open project: cyberh0me/OTP

Méthodes publiques

Свойство Type Description
Reflect8 byte[]

Méthodes publiques

Méthode Description
CRC ( )
calculate_chk16_Fletcher ( byte p, uint length ) : ushort
calculate_crc16 ( byte p, uint length ) : ushort
calculate_crc16_Buypass ( byte p, uint length ) : ushort
calculate_crc16_Ccitt_1D0F ( byte p, uint length ) : ushort
calculate_crc16_Ccitt_FFFF ( byte p, uint length ) : ushort
calculate_crc16_Ccitt_Xmodem ( byte p, uint length ) : ushort
calculate_crc16_DDS_110 ( byte p, uint length ) : ushort
calculate_crc16_DNP ( byte p, uint length ) : ushort
calculate_crc16_Dect_R ( byte p, uint length ) : ushort
calculate_crc16_Dect_X ( byte p, uint length ) : ushort
calculate_crc16_EN_13757 ( byte p, uint length ) : ushort
calculate_crc16_Genibus ( byte p, uint length ) : ushort
calculate_crc16_Kermit ( byte p, uint length ) : ushort
calculate_crc16_MCRF4XX ( byte p, uint length ) : ushort
calculate_crc16_Maxim ( byte p, uint length ) : ushort
calculate_crc16_Modbus ( byte p, uint length ) : ushort
calculate_crc16_Riello ( byte p, uint length ) : ushort
calculate_crc16_T10_DIF ( byte p, uint length ) : ushort
calculate_crc16_Teledisk ( byte p, uint length ) : ushort
calculate_crc16_USB ( byte p, uint length ) : ushort
calculate_crc16_X25 ( byte p, uint length ) : ushort
calculate_crc16_sick ( byte p, uint length ) : ushort
calculate_crc24_flexray_a ( byte p, uint length ) : uint
calculate_crc24_flexray_b ( byte p, uint length ) : uint
calculate_crc24_r64 ( byte p, uint length ) : uint
calculate_crc32 ( byte p, uint length ) : uint
calculate_crc32_bzip2 ( byte p, uint length ) : uint
calculate_crc32_c ( byte p, uint length ) : uint
calculate_crc32_d ( byte p, uint length ) : uint
calculate_crc32_jamcrc ( byte p, uint length ) : uint
calculate_crc32_k ( byte p, uint length ) : uint
calculate_crc32_mpeg2 ( byte p, uint length ) : uint
calculate_crc32_posix ( byte p, uint length ) : uint
calculate_crc32_q ( byte p, uint length ) : uint
calculate_crc32_xfer ( byte p, uint length ) : uint
calculate_crc8 ( byte p, uint length ) : byte
calculate_crc8_atm ( byte p, uint length ) : byte
calculate_crc8_ccitt ( byte p, uint length ) : byte
calculate_crc8_darc ( byte p, uint length ) : byte
calculate_crc8_icode ( byte p, uint length ) : byte
calculate_crc8_itu ( byte p, uint length ) : byte
calculate_crc8_j1850 ( byte p, uint length ) : byte
calculate_crc8_maxim ( byte p, uint length ) : byte
calculate_crc8_rohc ( byte p, uint length ) : byte
calculate_crc8_wcdma ( byte p, uint length ) : byte
init_crc16_normal_tab ( ushort table, ushort polynom ) : void
init_crc16_reflected_tab ( ushort table, ushort polynom ) : void
init_crc24_normal_tab ( uint table, uint polynom ) : void
init_crc32_normal_tab ( uint table, uint polynom ) : void
init_crc32_reflected_tab ( uint table, uint polynom ) : void
init_crc40_normal_tab ( ulong table, ulong polynom ) : void
init_crc64_normal_tab ( ulong table, ulong polynom ) : void
init_crc64_reflected_tab ( ulong table, ulong polynom ) : void
init_crc8_atm_tab ( ) : void
init_crc8_ccitt_tab ( ) : void
init_crc8_darc_tab ( ) : void
init_crc8_j1850_tab ( ) : void
init_crc8_maxim_tab ( ) : void
init_crc8_normal_tab ( byte table, byte polynom ) : void
init_crc8_reflected_tab ( byte table, byte polynom ) : void
init_crc8_rohc_tab ( ) : void
init_crc8_tab ( ) : void
init_crc8_wcdma_tab ( ) : void

Private Methods

Méthode Description
Reflect16 ( ushort Value16 ) : ushort
Reflect24 ( uint Value24 ) : uint
Reflect32 ( uint Value32 ) : uint
Reflect40 ( ulong Value40 ) : ulong
Reflect64 ( ulong Value64 ) : ulong
calculate_crc40_gsm ( byte p, uint length ) : ulong
calculate_crc64 ( byte p, uint length ) : ulong
calculate_crc64_1b ( byte p, uint length ) : ulong
calculate_crc64_jones ( byte p, uint length ) : ulong
calculate_crc64_we ( byte p, uint length ) : ulong
reverse_endian ( ushort i ) : ushort
update_crc16_0589 ( ushort crc, byte c ) : ushort
update_crc16_1021 ( ushort crc, byte c ) : ushort
update_crc16_3D65 ( ushort crc, byte c ) : ushort
update_crc16_8005 ( ushort crc, byte c ) : ushort
update_crc16_8408 ( ushort crc, byte c ) : ushort
update_crc16_A001 ( ushort crc, byte c ) : ushort
update_crc16_dnp ( ushort crc, byte c ) : ushort
update_crc16_normal ( ushort table, ushort crc, byte c ) : ushort
update_crc16_reflected ( ushort table, ushort crc, byte c ) : ushort
update_crc16_t10_dif ( ushort crc, byte c ) : ushort
update_crc16_teledisk ( ushort crc, byte c ) : ushort
update_crc24 ( uint crc, byte c ) : uint
update_crc24_normal ( uint table, uint crc, byte c ) : uint
update_crc24_r64 ( uint crc, byte c ) : uint
update_crc32_c ( uint crc, byte c ) : uint
update_crc32_d ( uint crc, byte c ) : uint
update_crc32_k ( uint crc, byte c ) : uint
update_crc32_norm ( uint crc, byte c ) : uint
update_crc32_normal ( uint table, uint crc, byte c ) : uint
update_crc32_q ( uint crc, byte c ) : uint
update_crc32_refl ( uint crc, byte c ) : uint
update_crc32_reflected ( uint table, uint crc, byte c ) : uint
update_crc32_xfer ( uint crc, byte c ) : uint
update_crc40_gsm ( ulong crc, byte c ) : ulong
update_crc40_normal ( ulong table, ulong crc, byte c ) : ulong
update_crc64 ( ulong crc, byte c ) : ulong
update_crc64_1B ( ulong crc, byte c ) : ulong
update_crc64_jones ( ulong crc, byte c ) : ulong
update_crc64_normal ( ulong table, ulong crc, byte c ) : ulong
update_crc64_reflected ( ulong table, ulong crc, byte c ) : ulong
update_crc8 ( byte crc, byte c ) : byte
update_crc8_atm ( byte crc, byte c ) : byte
update_crc8_ccitt ( byte crc, byte c ) : byte
update_crc8_darc ( byte crc, byte c ) : byte
update_crc8_j1850 ( byte crc, byte c ) : byte
update_crc8_maxim ( byte crc, byte c ) : byte
update_crc8_rohc ( byte crc, byte c ) : byte
update_crc8_wcdma ( byte crc, byte c ) : byte
update_crc_sick ( ushort crc, byte c, byte prev_byte ) : ushort

Method Details

CRC() public méthode

public CRC ( )

calculate_chk16_Fletcher() public méthode

public calculate_chk16_Fletcher ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16() public méthode

public calculate_crc16 ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Buypass() public méthode

public calculate_crc16_Buypass ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Ccitt_1D0F() public méthode

public calculate_crc16_Ccitt_1D0F ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Ccitt_FFFF() public méthode

public calculate_crc16_Ccitt_FFFF ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Ccitt_Xmodem() public méthode

public calculate_crc16_Ccitt_Xmodem ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_DDS_110() public méthode

public calculate_crc16_DDS_110 ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_DNP() public méthode

public calculate_crc16_DNP ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Dect_R() public méthode

public calculate_crc16_Dect_R ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Dect_X() public méthode

public calculate_crc16_Dect_X ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_EN_13757() public méthode

public calculate_crc16_EN_13757 ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Genibus() public méthode

public calculate_crc16_Genibus ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Kermit() public méthode

public calculate_crc16_Kermit ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_MCRF4XX() public méthode

public calculate_crc16_MCRF4XX ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Maxim() public méthode

public calculate_crc16_Maxim ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Modbus() public méthode

public calculate_crc16_Modbus ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Riello() public méthode

public calculate_crc16_Riello ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_T10_DIF() public méthode

public calculate_crc16_T10_DIF ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_Teledisk() public méthode

public calculate_crc16_Teledisk ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_USB() public méthode

public calculate_crc16_USB ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_X25() public méthode

public calculate_crc16_X25 ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc16_sick() public méthode

public calculate_crc16_sick ( byte p, uint length ) : ushort
p byte
length uint
Résultat ushort

calculate_crc24_flexray_a() public méthode

public calculate_crc24_flexray_a ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc24_flexray_b() public méthode

public calculate_crc24_flexray_b ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc24_r64() public méthode

public calculate_crc24_r64 ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32() public méthode

public calculate_crc32 ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_bzip2() public méthode

public calculate_crc32_bzip2 ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_c() public méthode

public calculate_crc32_c ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_d() public méthode

public calculate_crc32_d ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_jamcrc() public méthode

public calculate_crc32_jamcrc ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_k() public méthode

public calculate_crc32_k ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_mpeg2() public méthode

public calculate_crc32_mpeg2 ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_posix() public méthode

public calculate_crc32_posix ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_q() public méthode

public calculate_crc32_q ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc32_xfer() public méthode

public calculate_crc32_xfer ( byte p, uint length ) : uint
p byte
length uint
Résultat uint

calculate_crc8() public méthode

public calculate_crc8 ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_atm() public méthode

public calculate_crc8_atm ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_ccitt() public méthode

public calculate_crc8_ccitt ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_darc() public méthode

public calculate_crc8_darc ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_icode() public méthode

public calculate_crc8_icode ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_itu() public méthode

public calculate_crc8_itu ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_j1850() public méthode

public calculate_crc8_j1850 ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_maxim() public méthode

public calculate_crc8_maxim ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_rohc() public méthode

public calculate_crc8_rohc ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

calculate_crc8_wcdma() public méthode

public calculate_crc8_wcdma ( byte p, uint length ) : byte
p byte
length uint
Résultat byte

init_crc16_normal_tab() public méthode

public init_crc16_normal_tab ( ushort table, ushort polynom ) : void
table ushort
polynom ushort
Résultat void

init_crc16_reflected_tab() public méthode

public init_crc16_reflected_tab ( ushort table, ushort polynom ) : void
table ushort
polynom ushort
Résultat void

init_crc24_normal_tab() public méthode

public init_crc24_normal_tab ( uint table, uint polynom ) : void
table uint
polynom uint
Résultat void

init_crc32_normal_tab() public méthode

public init_crc32_normal_tab ( uint table, uint polynom ) : void
table uint
polynom uint
Résultat void

init_crc32_reflected_tab() public méthode

public init_crc32_reflected_tab ( uint table, uint polynom ) : void
table uint
polynom uint
Résultat void

init_crc40_normal_tab() public méthode

public init_crc40_normal_tab ( ulong table, ulong polynom ) : void
table ulong
polynom ulong
Résultat void

init_crc64_normal_tab() public méthode

public init_crc64_normal_tab ( ulong table, ulong polynom ) : void
table ulong
polynom ulong
Résultat void

init_crc64_reflected_tab() public méthode

public init_crc64_reflected_tab ( ulong table, ulong polynom ) : void
table ulong
polynom ulong
Résultat void

init_crc8_atm_tab() public méthode

public init_crc8_atm_tab ( ) : void
Résultat void

init_crc8_ccitt_tab() public méthode

public init_crc8_ccitt_tab ( ) : void
Résultat void

init_crc8_darc_tab() public méthode

public init_crc8_darc_tab ( ) : void
Résultat void

init_crc8_j1850_tab() public méthode

public init_crc8_j1850_tab ( ) : void
Résultat void

init_crc8_maxim_tab() public méthode

public init_crc8_maxim_tab ( ) : void
Résultat void

init_crc8_normal_tab() public méthode

public init_crc8_normal_tab ( byte table, byte polynom ) : void
table byte
polynom byte
Résultat void

init_crc8_reflected_tab() public méthode

public init_crc8_reflected_tab ( byte table, byte polynom ) : void
table byte
polynom byte
Résultat void

init_crc8_rohc_tab() public méthode

public init_crc8_rohc_tab ( ) : void
Résultat void

init_crc8_tab() public méthode

public init_crc8_tab ( ) : void
Résultat void

init_crc8_wcdma_tab() public méthode

public init_crc8_wcdma_tab ( ) : void
Résultat void

Property Details

Reflect8 public_oe property

public byte[] Reflect8
Résultat byte[]