Click or drag to resize
Crc32ModeS Class
A class that can calculate CRC32 parity bits that are applied to Mode-S messages.
Inheritance Hierarchy
SystemObject
  VirtualRadar.InterfaceCrc32ModeS

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Crc32ModeS

The Crc32ModeS type exposes the following members.

Constructors
  NameDescription
Public methodCrc32ModeS
Creates a new object.
Top
Methods
  NameDescription
Public methodComputeChecksum
Calculates the parity on the message passed across. Only the first three bytes (big-endian) are applied against Mode-S messages.
Public methodComputeChecksumBytes
Calculates a four-byte parity on the message passed across. Only the first three bytes are applied against Mode-S messages (when big-endian format is used).
Public methodComputeChecksumBytesTraditional32
Calculates the four-byte parity on a 4 byte message using the traditional (slow) method recommended by the Eurocontrol document '022_CRC_calculations_for_Mode_S'.
Public methodComputeChecksumBytesTraditional88
Calculates the four-byte parity on an 11 byte message using the traditional (slow) method recommended by the Eurocontrol document '022_CRC_calculations_for_Mode_S'.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Note that the CRC for a message of all zeros is zero.
See Also