BitExtensions Class

Defines extension methods related to UInt24 bit operations.

Definition

Namespace: Gemstone.Numeric.UInt24Extensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.110 -- Release Build+e3f505d56ee50c7e3fea40a20d129873a4fafd4c
public static class BitExtensions
Inheritance
Object    BitExtensions

Methods

BitRotL Performs rightwise bit-rotation for the specified number of rotations.
BitRotR Performs rightwise bit-rotation for the specified number of rotations.
CheckBits(UInt24, Bits) Determines if specified bits are set.
CheckBits(UInt24, UInt24) Determines if specified bits are set.
CheckBits(UInt24, Bits, Boolean) Determines if specified bits are set.
CheckBits(UInt24, UInt24, Boolean) Determines if specified bits are set.
ClearBits(UInt24, Bits) Returns value with specified bits cleared.
ClearBits(UInt24, UInt24) Returns value with specified bits cleared.
GetMaskedValue(UInt24, Bits) Returns value stored in the bits represented by the specified bitmask.
GetMaskedValue(UInt24, UInt24) Returns value stored in the bits represented by the specified bitmask.
SetBits(UInt24, Bits) Returns value with specified bits set.
SetBits(UInt24, UInt24) Returns value with specified bits set.
SetMaskedValue(UInt24, Bits, UInt24) Returns value after setting a new value for the bits specified by the bitmask.
SetMaskedValue(UInt24, UInt24, UInt24) Returns value after setting a new value for the bits specified by the bitmask.
ToggleBits(UInt24, Bits) Returns value with specified bits toggled.
ToggleBits(UInt24, UInt24) Returns value with specified bits toggled.

See Also