C# Class AsterixDisplayAnalyser.BitExtractor

Mostra file Open project: akapetanovic/ASTERIX-ANALYSER-and-DATA-DISPLAY Class Usage Examples

Public Methods

Method Description
Extract ( int StartBit, int EndBit, UInt32 From ) : UInt32
Extract ( int StartBit, int EndBit, System.UInt64 From ) : System.UInt64
GetBitStatus ( int BitToCheck, System.UInt64 FromThisNumber ) : bool
GetIntFromThreeBits ( bool Bit1, bool Bit2, bool Bit3 ) : int
GetTo32Char ( string In ) : string
GetTo64Char ( string In ) : string
JoinTwoUInt32 ( UInt32 FirstPart, UInt32 SecondPart ) : System.UInt64

Method Details

Extract() public method

public Extract ( int StartBit, int EndBit, UInt32 From ) : UInt32
StartBit int
EndBit int
From System.UInt32
return System.UInt32

Extract() public method

public Extract ( int StartBit, int EndBit, System.UInt64 From ) : System.UInt64
StartBit int
EndBit int
From System.UInt64
return System.UInt64

GetBitStatus() public method

public GetBitStatus ( int BitToCheck, System.UInt64 FromThisNumber ) : bool
BitToCheck int
FromThisNumber System.UInt64
return bool

GetIntFromThreeBits() public static method

public static GetIntFromThreeBits ( bool Bit1, bool Bit2, bool Bit3 ) : int
Bit1 bool
Bit2 bool
Bit3 bool
return int

GetTo32Char() public method

public GetTo32Char ( string In ) : string
In string
return string

GetTo64Char() public method

public GetTo64Char ( string In ) : string
In string
return string

JoinTwoUInt32() public method

public JoinTwoUInt32 ( UInt32 FirstPart, UInt32 SecondPart ) : System.UInt64
FirstPart System.UInt32
SecondPart System.UInt32
return System.UInt64