Click or drag to resize

BitExtensions Methods

The BitExtensions type exposes the following members.

Methods
  Name Description
Public Extension Method BitRotL(Byte, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(Int16, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(Int24, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(Int32, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(Int64, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(SByte, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(UInt16, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(UInt24, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(UInt32, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotL(UInt64, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(Byte, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(Int16, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(Int24, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(Int32, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(Int64, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(SByte, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(UInt16, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(UInt24, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(UInt32, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public Extension Method BitRotR(UInt64, Int32) Performs rightwise bit-rotation for the specified number of rotations.
Public method Static member BitVal Gets the bit value for the specified bit index (0 - 63).
Public Extension Method CheckBits(Byte, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(Byte, Byte) Determines if specified bits are set.
Public Extension Method CheckBits(Int16, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(Int16, Int16) Determines if specified bits are set.
Public Extension Method CheckBits(Int24, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(Int24, Int24) Determines if specified bits are set.
Public Extension Method CheckBits(Int32, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(Int32, Int32) Determines if specified bits are set.
Public Extension Method CheckBits(Int64, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(Int64, Int64) Determines if specified bits are set.
Public Extension Method CheckBits(SByte, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(SByte, SByte) Determines if specified bits are set.
Public Extension Method CheckBits(UInt16, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(UInt16, UInt16) Determines if specified bits are set.
Public Extension Method CheckBits(UInt24, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(UInt24, UInt24) Determines if specified bits are set.
Public Extension Method CheckBits(UInt32, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(UInt32, UInt32) Determines if specified bits are set.
Public Extension Method CheckBits(UInt64, Bits) Determines if specified bits are set.
Public Extension Method CheckBits(UInt64, UInt64) Determines if specified bits are set.
Public Extension Method CheckBits(Byte, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Byte, Byte, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int16, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int16, Int16, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int24, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int24, Int24, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int32, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int32, Int32, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int64, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(Int64, Int64, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(SByte, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(SByte, SByte, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt16, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt16, UInt16, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt24, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt24, UInt24, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt32, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt32, UInt32, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt64, Bits, Boolean) Determines if specified bits are set.
Public Extension Method CheckBits(UInt64, UInt64, Boolean) Determines if specified bits are set.
Public Extension Method ClearBits(Byte, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(Byte, Byte) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int16, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int16, Int16) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int24, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int24, Int24) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int32, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int32, Int32) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int64, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(Int64, Int64) Returns value with specified bits cleared.
Public Extension Method ClearBits(SByte, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(SByte, SByte) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt16, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt16, UInt16) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt24, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt24, UInt24) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt32, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt32, UInt32) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt64, Bits) Returns value with specified bits cleared.
Public Extension Method ClearBits(UInt64, UInt64) Returns value with specified bits cleared.
Public Extension Method GetMaskedValue(Byte, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Byte, Byte) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int16, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int16, Int16) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int24, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int24, Int24) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int32, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int32, Int32) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int64, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(Int64, Int64) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(SByte, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(SByte, SByte) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt16, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt16, UInt16) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt24, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt24, UInt24) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt32, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt32, UInt32) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt64, Bits) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method GetMaskedValue(UInt64, UInt64) Returns value stored in the bits represented by the specified bitmask.
Public Extension Method SetBits(Byte, Bits) Returns value with specified bits set.
Public Extension Method SetBits(Byte, Byte) Returns value with specified bits set.
Public Extension Method SetBits(Int16, Bits) Returns value with specified bits set.
Public Extension Method SetBits(Int16, Int16) Returns value with specified bits set.
Public Extension Method SetBits(Int24, Bits) Returns value with specified bits set.
Public Extension Method SetBits(Int24, Int24) Returns value with specified bits set.
Public Extension Method SetBits(Int32, Bits) Returns value with specified bits set.
Public Extension Method SetBits(Int32, Int32) Returns value with specified bits set.
Public Extension Method SetBits(Int64, Bits) Returns value with specified bits set.
Public Extension Method SetBits(Int64, Int64) Returns value with specified bits set.
Public Extension Method SetBits(SByte, Bits) Returns value with specified bits set.
Public Extension Method SetBits(SByte, SByte) Returns value with specified bits set.
Public Extension Method SetBits(UInt16, Bits) Returns value with specified bits set.
Public Extension Method SetBits(UInt16, UInt16) Returns value with specified bits set.
Public Extension Method SetBits(UInt24, Bits) Returns value with specified bits set.
Public Extension Method SetBits(UInt24, UInt24) Returns value with specified bits set.
Public Extension Method SetBits(UInt32, Bits) Returns value with specified bits set.
Public Extension Method SetBits(UInt32, UInt32) Returns value with specified bits set.
Public Extension Method SetBits(UInt64, Bits) Returns value with specified bits set.
Public Extension Method SetBits(UInt64, UInt64) Returns value with specified bits set.
Public Extension Method SetMaskedValue(Byte, Bits, Byte) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Byte, Byte, Byte) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int16, Bits, Int16) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int16, Int16, Int16) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int24, Bits, Int24) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int24, Int24, Int24) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int32, Bits, Int32) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int32, Int32, Int32) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int64, Bits, Int64) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(Int64, Int64, Int64) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(SByte, Bits, SByte) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(SByte, SByte, SByte) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt16, Bits, UInt16) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt16, UInt16, UInt16) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt24, Bits, UInt24) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt24, UInt24, UInt24) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt32, Bits, UInt32) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt32, UInt32, UInt32) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt64, Bits, UInt64) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method SetMaskedValue(UInt64, UInt64, UInt64) Returns value after setting a new value for the bits specified by the bitmask.
Public Extension Method ToBinaryString(Byte) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(Int16) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(Int24) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(Int32) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(Int64) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(SByte) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(UInt16) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(UInt24) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(UInt32) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToBinaryString(UInt64) Encodes value as binary, i.e., a string of bit values (0 or 1).
Public Extension Method ToggleBits(Byte, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Byte, Byte) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int16, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int16, Int16) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int24, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int24, Int24) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int32, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int32, Int32) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int64, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(Int64, Int64) Returns value with specified bits toggled.
Public Extension Method ToggleBits(SByte, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(SByte, SByte) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt16, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt16, UInt16) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt24, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt24, UInt24) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt32, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt32, UInt32) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt64, Bits) Returns value with specified bits toggled.
Public Extension Method ToggleBits(UInt64, UInt64) Returns value with specified bits toggled.
Top
See Also