C# Класс ManagedWin32.BitHelper

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

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

Метод Описание
HiByte ( this pWord ) : byte

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

HiDword ( this pDWord ) : int

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

HiWord ( this pDWord ) : short

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

LoByte ( this pWord ) : byte

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

LoDword ( this pDWord ) : int

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

LoWord ( this pDWord ) : short

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 ( this pWord ) : byte
pWord this
Результат byte

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

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

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

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

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

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

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

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

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

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

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