C# Класс ManagedBass.BitHelper

Helps perform certain operations on primative types that deal with bits
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

HiByte() публичный статический Метод

The return value is the high-order byte of the specified value.
public static HiByte ( short Word ) : byte
Word short
Результат byte

HiDword() публичный статический Метод

The return value is the high-order double word of the specified value.
public static HiDword ( long DWord ) : long
DWord long
Результат long

HiWord() публичный статический Метод

The return value is the high-order word of the specified value.
public static HiWord ( int DWord ) : int
DWord int
Результат int

LoByte() публичный статический Метод

The return value is the low-order byte of the specified value.
public static LoByte ( short Word ) : byte
Word short
Результат byte

LoDword() публичный статический Метод

The return value is the low-order word of the specified value.
public static LoDword ( long DWord ) : long
DWord long
Результат long

LoWord() публичный статический Метод

The return value is the low-order word of the specified value.
public static LoWord ( int DWord ) : int
DWord int
Результат int

MakeLong() публичный статический Метод

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
Результат int

MakeWord() публичный статический Метод

Make an short from 2-bytes.
public static MakeWord ( byte Low, byte High ) : short
Low byte
High byte
Результат short