C# Class imBMW.Tools.NumHelpers

Afficher le fichier Open project: toxsedyshev/imBMW

Méthodes publiques

Méthode Description
AddBit ( this b, byte bitIndex ) : byte
AddBits ( this b, byte bits ) : byte
HasBit ( this b, byte bitIndex ) : bool
HasBits ( this b, byte bits ) : bool
Invert ( this b ) : byte
RemoveBit ( this b, byte bitIndex ) : byte
RemoveBits ( this b, byte bits ) : byte
ToHex ( this b ) : String

Private Methods

Méthode Description
checkByteBitIndex ( byte bitIndex ) : void

Method Details

AddBit() public static méthode

public static AddBit ( this b, byte bitIndex ) : byte
b this
bitIndex byte
Résultat byte

AddBits() public static méthode

public static AddBits ( this b, byte bits ) : byte
b this
bits byte
Résultat byte

HasBit() public static méthode

public static HasBit ( this b, byte bitIndex ) : bool
b this
bitIndex byte
Résultat bool

HasBits() public static méthode

public static HasBits ( this b, byte bits ) : bool
b this
bits byte
Résultat bool

Invert() public static méthode

public static Invert ( this b ) : byte
b this
Résultat byte

RemoveBit() public static méthode

public static RemoveBit ( this b, byte bitIndex ) : byte
b this
bitIndex byte
Résultat byte

RemoveBits() public static méthode

public static RemoveBits ( this b, byte bits ) : byte
b this
bits byte
Résultat byte

ToHex() public static méthode

public static ToHex ( this b ) : String
b this
Résultat String