C# Класс GSF.BitExtensions

Defines extension methods related to bit operations.
Показать файл Открыть проект

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

Метод Описание
BitRotL ( this value, int rotations ) : Int24

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : System.UInt24

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : byte

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : int

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : long

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : sbyte

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : short

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : uint

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : ulong

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotL ( this value, int rotations ) : ushort

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.

BitRotR ( this value, int rotations ) : Int24

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : System.UInt24

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : byte

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : int

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : long

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : sbyte

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : short

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : uint

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : ulong

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

BitRotR ( this value, int rotations ) : ushort

Performs rightwise bit-rotation for the specified number of rotations.

Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.

CheckBits ( this source, Bits bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, Bits bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, Int24 bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, Int24 bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, System.UInt24 bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, System.UInt24 bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, byte bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, byte bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, int bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, int bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, long bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, long bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, sbyte bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, sbyte bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, short bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, short bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, uint bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, uint bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, ulong bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, ulong bits, bool allBits ) : bool

Determines if specified bits are set.

CheckBits ( this source, ushort bits ) : bool

Determines if specified bits are set.

CheckBits ( this source, ushort bits, bool allBits ) : bool

Determines if specified bits are set.

ClearBits ( this source, Bits bits ) : Int24

Returns value with specified bits cleared.

ClearBits ( this source, Int24 bits ) : Int24

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : System.UInt24

Returns value with specified bits cleared.

ClearBits ( this source, System.UInt24 bits ) : System.UInt24

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : byte

Returns value with specified bits cleared.

ClearBits ( this source, byte bits ) : byte

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : int

Returns value with specified bits cleared.

ClearBits ( this source, int bits ) : int

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : long

Returns value with specified bits cleared.

ClearBits ( this source, long bits ) : long

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : sbyte

Returns value with specified bits cleared.

ClearBits ( this source, sbyte bits ) : sbyte

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : short

Returns value with specified bits cleared.

ClearBits ( this source, short bits ) : short

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : uint

Returns value with specified bits cleared.

ClearBits ( this source, uint bits ) : uint

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : ulong

Returns value with specified bits cleared.

ClearBits ( this source, ulong bits ) : ulong

Returns value with specified bits cleared.

ClearBits ( this source, Bits bits ) : ushort

Returns value with specified bits cleared.

ClearBits ( this source, ushort bits ) : ushort

Returns value with specified bits cleared.

GetMaskedValue ( this source, Bits bitmask ) : Int24

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Int24 bitmask ) : Int24

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : System.UInt24

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, System.UInt24 bitmask ) : System.UInt24

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : byte

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, byte bitmask ) : byte

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : int

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, int bitmask ) : int

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : long

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, long bitmask ) : long

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : sbyte

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, sbyte bitmask ) : sbyte

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : short

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, short bitmask ) : short

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : uint

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, uint bitmask ) : uint

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : ulong

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, ulong bitmask ) : ulong

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, Bits bitmask ) : ushort

Returns value stored in the bits represented by the specified bitmask.

GetMaskedValue ( this source, ushort bitmask ) : ushort

Returns value stored in the bits represented by the specified bitmask.

SetBits ( this source, Bits bits ) : Int24

Returns value with specified bits set.

SetBits ( this source, Int24 bits ) : Int24

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : System.UInt24

Returns value with specified bits set.

SetBits ( this source, System.UInt24 bits ) : System.UInt24

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : byte

Returns value with specified bits set.

SetBits ( this source, byte bits ) : byte

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : int

Returns value with specified bits set.

SetBits ( this source, int bits ) : int

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : long

Returns value with specified bits set.

SetBits ( this source, long bits ) : long

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : sbyte

Returns value with specified bits set.

SetBits ( this source, sbyte bits ) : sbyte

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : short

Returns value with specified bits set.

SetBits ( this source, short bits ) : short

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : uint

Returns value with specified bits set.

SetBits ( this source, uint bits ) : uint

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : ulong

Returns value with specified bits set.

SetBits ( this source, ulong bits ) : ulong

Returns value with specified bits set.

SetBits ( this source, Bits bits ) : ushort

Returns value with specified bits set.

SetBits ( this source, ushort bits ) : ushort

Returns value with specified bits set.

SetMaskedValue ( this source, Bits bitmask, Int24 value ) : Int24

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Int24 bitmask, Int24 value ) : Int24

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, System.UInt24 value ) : System.UInt24

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, System.UInt24 bitmask, System.UInt24 value ) : System.UInt24

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, byte value ) : byte

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, byte bitmask, byte value ) : byte

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, int value ) : int

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, int bitmask, int value ) : int

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, long value ) : long

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, long bitmask, long value ) : long

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, sbyte value ) : sbyte

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, sbyte bitmask, sbyte value ) : sbyte

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, short value ) : short

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, short bitmask, short value ) : short

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, uint value ) : uint

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, uint bitmask, uint value ) : uint

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, ulong value ) : ulong

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, ulong bitmask, ulong value ) : ulong

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, Bits bitmask, ushort value ) : ushort

Returns value after setting a new value for the bits specified by the bitmask.

SetMaskedValue ( this source, ushort bitmask, ushort value ) : ushort

Returns value after setting a new value for the bits specified by the bitmask.

ToggleBits ( this source, Bits bits ) : Int24

Returns value with specified bits toggled.

ToggleBits ( this source, Int24 bits ) : Int24

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : System.UInt24

Returns value with specified bits toggled.

ToggleBits ( this source, System.UInt24 bits ) : System.UInt24

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : byte

Returns value with specified bits toggled.

ToggleBits ( this source, byte bits ) : byte

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : int

Returns value with specified bits toggled.

ToggleBits ( this source, int bits ) : int

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : long

Returns value with specified bits toggled.

ToggleBits ( this source, long bits ) : long

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : sbyte

Returns value with specified bits toggled.

ToggleBits ( this source, sbyte bits ) : sbyte

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : short

Returns value with specified bits toggled.

ToggleBits ( this source, short bits ) : short

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : uint

Returns value with specified bits toggled.

ToggleBits ( this source, uint bits ) : uint

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : ulong

Returns value with specified bits toggled.

ToggleBits ( this source, ulong bits ) : ulong

Returns value with specified bits toggled.

ToggleBits ( this source, Bits bits ) : ushort

Returns value with specified bits toggled.

ToggleBits ( this source, ushort bits ) : ushort

Returns value with specified bits toggled.

Приватные методы

Метод Описание
BitVal ( int bit ) : Bits

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

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : Int24
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат Int24

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : System.UInt24
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат System.UInt24

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : byte
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат byte

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : int
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат int

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : long
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат long

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : sbyte
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат sbyte

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : short
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат short

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : uint
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат uint

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : ulong
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат ulong

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate right on little-endian architectures.
public static BitRotL ( this value, int rotations ) : ushort
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат ushort

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : Int24
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат Int24

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : System.UInt24
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат System.UInt24

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : byte
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат byte

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : int
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат int

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : long
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат long

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : sbyte
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат sbyte

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : short
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат short

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : uint
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат uint

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : ulong
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат ulong

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

Performs rightwise bit-rotation for the specified number of rotations.
Actual rotation direction is from a big-endian perspective - this is an artifact of the native .NET bit shift operators. As a result bits may actually appear to rotate left on little-endian architectures.
public static BitRotR ( this value, int rotations ) : ushort
value this Value used for bit-rotation.
rotations int Number of rotations to perform.
Результат ushort

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

Determines if specified bits are set.
public static CheckBits ( this source, Bits bits ) : bool
source this Value source.
bits Bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, Bits bits, bool allBits ) : bool
source this Value source.
bits Bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, Int24 bits ) : bool
source this Value source.
bits Int24 Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, Int24 bits, bool allBits ) : bool
source this Value source.
bits Int24 Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, System.UInt24 bits ) : bool
source this Value source.
bits System.UInt24 Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, System.UInt24 bits, bool allBits ) : bool
source this Value source.
bits System.UInt24 Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, byte bits ) : bool
source this Value source.
bits byte Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, byte bits, bool allBits ) : bool
source this Value source.
bits byte Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, int bits ) : bool
source this Value source.
bits int Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, int bits, bool allBits ) : bool
source this Value source.
bits int Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, long bits ) : bool
source this Value source.
bits long Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, long bits, bool allBits ) : bool
source this Value source.
bits long Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, sbyte bits ) : bool
source this Value source.
bits sbyte Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, sbyte bits, bool allBits ) : bool
source this Value source.
bits sbyte Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, short bits ) : bool
source this Value source.
bits short Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, short bits, bool allBits ) : bool
source this Value source.
bits short Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, uint bits ) : bool
source this Value source.
bits uint Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, uint bits, bool allBits ) : bool
source this Value source.
bits uint Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, ulong bits ) : bool
source this Value source.
bits ulong Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, ulong bits, bool allBits ) : bool
source this Value source.
bits ulong Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, ushort bits ) : bool
source this Value source.
bits ushort Bit-mask of the bits to check.
Результат bool

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

Determines if specified bits are set.
public static CheckBits ( this source, ushort bits, bool allBits ) : bool
source this Value source.
bits ushort Bit-mask of the bits to check.
allBits bool true to check if all are set; otherwise false.
Результат bool

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : Int24
source this Value source.
bits Bits to clear.
Результат Int24

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Int24 bits ) : Int24
source this Value source.
bits Int24 Bit-mask of the bits to clear.
Результат Int24

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : System.UInt24
source this Value source.
bits Bits to clear.
Результат System.UInt24

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

Returns value with specified bits cleared.
public static ClearBits ( this source, System.UInt24 bits ) : System.UInt24
source this Value source.
bits System.UInt24 Bit-mask of the bits to clear.
Результат System.UInt24

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : byte
source this Value source.
bits Bits to clear.
Результат byte

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

Returns value with specified bits cleared.
public static ClearBits ( this source, byte bits ) : byte
source this Value source.
bits byte Bit-mask of the bits to clear.
Результат byte

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : int
source this Value source.
bits Bits to clear.
Результат int

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

Returns value with specified bits cleared.
public static ClearBits ( this source, int bits ) : int
source this Value source.
bits int Bit-mask of the bits to clear.
Результат int

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : long
source this Value source.
bits Bits to clear.
Результат long

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

Returns value with specified bits cleared.
public static ClearBits ( this source, long bits ) : long
source this Value source.
bits long Bit-mask of the bits to clear.
Результат long

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : sbyte
source this Value source.
bits Bits to clear.
Результат sbyte

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

Returns value with specified bits cleared.
public static ClearBits ( this source, sbyte bits ) : sbyte
source this Value source.
bits sbyte Bit-mask of the bits to clear.
Результат sbyte

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : short
source this Value source.
bits Bits to clear.
Результат short

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

Returns value with specified bits cleared.
public static ClearBits ( this source, short bits ) : short
source this Value source.
bits short Bit-mask of the bits to clear.
Результат short

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : uint
source this Value source.
bits Bits to clear.
Результат uint

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

Returns value with specified bits cleared.
public static ClearBits ( this source, uint bits ) : uint
source this Value source.
bits uint Bit-mask of the bits to clear.
Результат uint

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : ulong
source this Value source.
bits Bits to clear.
Результат ulong

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

Returns value with specified bits cleared.
public static ClearBits ( this source, ulong bits ) : ulong
source this Value source.
bits ulong Bit-mask of the bits to clear.
Результат ulong

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

Returns value with specified bits cleared.
public static ClearBits ( this source, Bits bits ) : ushort
source this Value source.
bits Bits to clear.
Результат ushort

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

Returns value with specified bits cleared.
public static ClearBits ( this source, ushort bits ) : ushort
source this Value source.
bits ushort Bit-mask of the bits to clear.
Результат ushort

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : Int24
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат Int24

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Int24 bitmask ) : Int24
source this Value source.
bitmask Int24 Bit-mask of the bits involved.
Результат Int24

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : System.UInt24
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат System.UInt24

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, System.UInt24 bitmask ) : System.UInt24
source this Value source.
bitmask System.UInt24 Bit-mask of the bits involved.
Результат System.UInt24

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : byte
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат byte

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, byte bitmask ) : byte
source this Value source.
bitmask byte Bit-mask of the bits involved.
Результат byte

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : int
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат int

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, int bitmask ) : int
source this Value source.
bitmask int Bit-mask of the bits involved.
Результат int

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : long
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат long

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, long bitmask ) : long
source this Value source.
bitmask long Bit-mask of the bits involved.
Результат long

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : sbyte
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат sbyte

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, sbyte bitmask ) : sbyte
source this Value source.
bitmask sbyte Bit-mask of the bits involved.
Результат sbyte

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : short
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат short

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, short bitmask ) : short
source this Value source.
bitmask short Bit-mask of the bits involved.
Результат short

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : uint
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат uint

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, uint bitmask ) : uint
source this Value source.
bitmask uint Bit-mask of the bits involved.
Результат uint

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : ulong
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат ulong

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, ulong bitmask ) : ulong
source this Value source.
bitmask ulong Bit-mask of the bits involved.
Результат ulong

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, Bits bitmask ) : ushort
source this Value source.
bitmask Bits that make-up the bit-mask.
Результат ushort

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

Returns value stored in the bits represented by the specified bitmask.
public static GetMaskedValue ( this source, ushort bitmask ) : ushort
source this Value source.
bitmask ushort Bit-mask of the bits involved.
Результат ushort

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : Int24
source this Value source.
bits Bits to set.
Результат Int24

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

Returns value with specified bits set.
public static SetBits ( this source, Int24 bits ) : Int24
source this Value source.
bits Int24 Bit-mask of the bits to set.
Результат Int24

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : System.UInt24
source this Value source.
bits Bits to set.
Результат System.UInt24

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

Returns value with specified bits set.
public static SetBits ( this source, System.UInt24 bits ) : System.UInt24
source this Value source.
bits System.UInt24 Bit-mask of the bits to set.
Результат System.UInt24

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : byte
source this Value source.
bits Bits to set.
Результат byte

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

Returns value with specified bits set.
public static SetBits ( this source, byte bits ) : byte
source this Value source.
bits byte Bit-mask of the bits to set.
Результат byte

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : int
source this Value source.
bits Bits to set.
Результат int

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

Returns value with specified bits set.
public static SetBits ( this source, int bits ) : int
source this Value source.
bits int Bit-mask of the bits to set.
Результат int

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : long
source this Value source.
bits Bits to set.
Результат long

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

Returns value with specified bits set.
public static SetBits ( this source, long bits ) : long
source this Value source.
bits long Bit-mask of the bits to set.
Результат long

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : sbyte
source this Value source.
bits Bits to set.
Результат sbyte

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

Returns value with specified bits set.
public static SetBits ( this source, sbyte bits ) : sbyte
source this Value source.
bits sbyte Bit-mask of the bits to set.
Результат sbyte

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : short
source this Value source.
bits Bits to set.
Результат short

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

Returns value with specified bits set.
public static SetBits ( this source, short bits ) : short
source this Value source.
bits short Bit-mask of the bits to set.
Результат short

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : uint
source this Value source.
bits Bits to set.
Результат uint

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

Returns value with specified bits set.
public static SetBits ( this source, uint bits ) : uint
source this Value source.
bits uint Bit-mask of the bits to set.
Результат uint

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : ulong
source this Value source.
bits Bits to set.
Результат ulong

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

Returns value with specified bits set.
public static SetBits ( this source, ulong bits ) : ulong
source this Value source.
bits ulong Bit-mask of the bits to set.
Результат ulong

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

Returns value with specified bits set.
public static SetBits ( this source, Bits bits ) : ushort
source this Value source.
bits Bits to set.
Результат ushort

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

Returns value with specified bits set.
public static SetBits ( this source, ushort bits ) : ushort
source this Value source.
bits ushort Bit-mask of the bits to set.
Результат ushort

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, Int24 value ) : Int24
source this Value source.
bitmask Bits that make-up the bit-mask.
value Int24 New value.
Результат Int24

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Int24 bitmask, Int24 value ) : Int24
source this Value source.
bitmask Int24 Bit-mask of the bits involved.
value Int24 New value.
Результат Int24

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, System.UInt24 value ) : System.UInt24
source this Value source.
bitmask Bits that make-up the bit-mask.
value System.UInt24 New value.
Результат System.UInt24

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, System.UInt24 bitmask, System.UInt24 value ) : System.UInt24
source this Value source.
bitmask System.UInt24 Bit-mask of the bits involved.
value System.UInt24 New value.
Результат System.UInt24

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, byte value ) : byte
source this Value source.
bitmask Bits that make-up the bit-mask.
value byte New value.
Результат byte

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, byte bitmask, byte value ) : byte
source this Value source.
bitmask byte Bit-mask of the bits involved.
value byte New value.
Результат byte

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, int value ) : int
source this Value source.
bitmask Bits that make-up the bit-mask.
value int New value.
Результат int

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, int bitmask, int value ) : int
source this Value source.
bitmask int Bit-mask of the bits involved.
value int New value.
Результат int

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, long value ) : long
source this Value source.
bitmask Bits that make-up the bit-mask.
value long New value.
Результат long

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, long bitmask, long value ) : long
source this Value source.
bitmask long Bit-mask of the bits involved.
value long New value.
Результат long

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, sbyte value ) : sbyte
source this Value source.
bitmask Bits that make-up the bit-mask.
value sbyte New value.
Результат sbyte

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, sbyte bitmask, sbyte value ) : sbyte
source this Value source.
bitmask sbyte Bit-mask of the bits involved.
value sbyte New value.
Результат sbyte

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, short value ) : short
source this Value source.
bitmask Bits that make-up the bit-mask.
value short New value.
Результат short

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, short bitmask, short value ) : short
source this Value source.
bitmask short Bit-mask of the bits involved.
value short New value.
Результат short

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, uint value ) : uint
source this Value source.
bitmask Bits that make-up the bit-mask.
value uint New value.
Результат uint

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, uint bitmask, uint value ) : uint
source this Value source.
bitmask uint Bit-mask of the bits involved.
value uint New value.
Результат uint

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, ulong value ) : ulong
source this Value source.
bitmask Bits that make-up the bit-mask.
value ulong New value.
Результат ulong

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, ulong bitmask, ulong value ) : ulong
source this Value source.
bitmask ulong Bit-mask of the bits involved.
value ulong New value.
Результат ulong

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, Bits bitmask, ushort value ) : ushort
source this Value source.
bitmask Bits that make-up the bit-mask.
value ushort New value.
Результат ushort

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

Returns value after setting a new value for the bits specified by the bitmask.
public static SetMaskedValue ( this source, ushort bitmask, ushort value ) : ushort
source this Value source.
bitmask ushort Bit-mask of the bits involved.
value ushort New value.
Результат ushort

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : Int24
source this Value source.
bits Bits to toggle.
Результат Int24

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Int24 bits ) : Int24
source this Value source.
bits Int24 Bit-mask of the bits to toggle.
Результат Int24

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : System.UInt24
source this Value source.
bits Bits to toggle.
Результат System.UInt24

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, System.UInt24 bits ) : System.UInt24
source this Value source.
bits System.UInt24 Bit-mask of the bits to toggle.
Результат System.UInt24

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : byte
source this Value source.
bits Bits to toggle.
Результат byte

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, byte bits ) : byte
source this Value source.
bits byte Bit-mask of the bits to toggle.
Результат byte

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : int
source this Value source.
bits Bits to toggle.
Результат int

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, int bits ) : int
source this Value source.
bits int Bit-mask of the bits to toggle.
Результат int

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : long
source this Value source.
bits Bits to toggle.
Результат long

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, long bits ) : long
source this Value source.
bits long Bit-mask of the bits to toggle.
Результат long

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : sbyte
source this Value source.
bits Bits to toggle.
Результат sbyte

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, sbyte bits ) : sbyte
source this Value source.
bits sbyte Bit-mask of the bits to toggle.
Результат sbyte

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : short
source this Value source.
bits Bits to toggle.
Результат short

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, short bits ) : short
source this Value source.
bits short Bit-mask of the bits to toggle.
Результат short

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : uint
source this Value source.
bits Bits to toggle.
Результат uint

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, uint bits ) : uint
source this Value source.
bits uint Bit-mask of the bits to toggle.
Результат uint

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : ulong
source this Value source.
bits Bits to toggle.
Результат ulong

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, ulong bits ) : ulong
source this Value source.
bits ulong Bit-mask of the bits to toggle.
Результат ulong

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, Bits bits ) : ushort
source this Value source.
bits Bits to toggle.
Результат ushort

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

Returns value with specified bits toggled.
public static ToggleBits ( this source, ushort bits ) : ushort
source this Value source.
bits ushort Bit-mask of the bits to toggle.
Результат ushort