C# Class ManagedBass.BitHelper

Helps perform certain operations on primative types that deal with bits
Afficher le fichier Open project: webmaster442/TCPlayer Class Usage Examples

Méthodes publiques

Méthode Description
HiByte ( short Word ) : byte

The return value is the high-order byte of the specified value.

HiDword ( long DWord ) : long

The return value is the high-order double word of the specified value.

HiWord ( int DWord ) : int

The return value is the high-order word of the specified value.

LoByte ( short Word ) : byte

The return value is the low-order byte of the specified value.

LoDword ( long DWord ) : long

The return value is the low-order word of the specified value.

LoWord ( int DWord ) : int

The return value is the low-order word of the specified value.

MakeLong ( short Low, short High ) : int

Make an integer putting Low in low 2-bytes and High in high 2-bytes.

MakeWord ( byte Low, byte High ) : short

Make an short from 2-bytes.

Method Details

HiByte() public static méthode

The return value is the high-order byte of the specified value.
public static HiByte ( short Word ) : byte
Word short
Résultat byte

HiDword() public static méthode

The return value is the high-order double word of the specified value.
public static HiDword ( long DWord ) : long
DWord long
Résultat long

HiWord() public static méthode

The return value is the high-order word of the specified value.
public static HiWord ( int DWord ) : int
DWord int
Résultat int

LoByte() public static méthode

The return value is the low-order byte of the specified value.
public static LoByte ( short Word ) : byte
Word short
Résultat byte

LoDword() public static méthode

The return value is the low-order word of the specified value.
public static LoDword ( long DWord ) : long
DWord long
Résultat long

LoWord() public static méthode

The return value is the low-order word of the specified value.
public static LoWord ( int DWord ) : int
DWord int
Résultat int

MakeLong() public static méthode

Make an integer putting Low in low 2-bytes and High in high 2-bytes.
public static MakeLong ( short Low, short High ) : int
Low short
High short
Résultat int

MakeWord() public static méthode

Make an short from 2-bytes.
public static MakeWord ( byte Low, byte High ) : short
Low byte
High byte
Résultat short