BitExtensions Class

Defines extension methods related to Int24 bit operations.

Definition

Namespace: Gemstone.Numeric.Int24Extensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.186 -- Release Build+6e9b2c0bd924f689e3150d56bd1b33cfd5180a10
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(Int24, Bits) Determines if specified bits are set.
CheckBits(Int24, Int24) Determines if specified bits are set.
CheckBits(Int24, Bits, Boolean) Determines if specified bits are set.
CheckBits(Int24, Int24, Boolean) Determines if specified bits are set.
ClearBits(Int24, Bits) Returns value with specified bits cleared.
ClearBits(Int24, Int24) Returns value with specified bits cleared.
GetMaskedValue(Int24, Bits) Returns value stored in the bits represented by the specified bitmask.
GetMaskedValue(Int24, Int24) Returns value stored in the bits represented by the specified bitmask.
SetBits(Int24, Bits) Returns value with specified bits set.
SetBits(Int24, Int24) Returns value with specified bits set.
SetMaskedValue(Int24, Bits, Int24) Returns value after setting a new value for the bits specified by the bitmask.
SetMaskedValue(Int24, Int24, Int24) Returns value after setting a new value for the bits specified by the bitmask.
ToggleBits(Int24, Bits) Returns value with specified bits toggled.
ToggleBits(Int24, Int24) Returns value with specified bits toggled.

See Also