Click or drag to resize

UInt24 Methods

The UInt24 type exposes the following members.

Methods
  Name Description
Public method CompareTo(Object) Compares this instance to a specified object and returns an indication of their relative values.
Public method CompareTo(UInt24) Compares this instance to a specified 24-bit unsigned integer and returns an indication of their relative values.
Public method CompareTo(UInt32) Compares this instance to a specified 32-bit unsigned integer and returns an indication of their relative values.
Public method Equals(Object) Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object))
Public method Equals(UInt24) Returns a value indicating whether this instance is equal to a specified UInt24 value.
Public method Equals(UInt32) Returns a value indicating whether this instance is equal to a specified uint value.
Public method GetBytes Returns the UInt24 value as an array of three bytes.
Public method Static member GetBytes(UInt24) Returns the specified UInt24 value as an array of three bytes.
Public method GetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetTypeCode Returns the System.TypeCode for value type System.UInt32 (there is no defined type code for an UInt24).
Public method Static member GetValue Returns a 24-bit unsigned integer from three bytes at a specified position in a byte array.
Public method Static member Parse(String) Converts the string representation of a number to its 24-bit unsigned integer equivalent.
Public method Static member Parse(String, NumberStyles) Converts the string representation of a number in a specified style to its 24-bit unsigned integer equivalent.
Public method Static member Parse(String, IFormatProvider) Converts the string representation of a number in a specified culture-specific format to its 24-bit unsigned integer equivalent.
Public method Static member Parse(String, NumberStyles, IFormatProvider) Converts the string representation of a number in a specified style and culture-specific format to its 24-bit unsigned integer equivalent.
Public method ToString Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString)
Public method ToString(IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
Public method ToString(String) Converts the numeric value of this instance to its equivalent string representation, using the specified format.
Public method ToString(String, IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
Public method Static member TryParse(String, UInt24) Converts the string representation of a number to its 24-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
Public method Static member TryParse(String, NumberStyles, IFormatProvider, UInt24) Converts the string representation of a number in a specified style and culture-specific format to its 24-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
Top
Extension Methods
  Name Description
Public Extension Method BitRotL Performs rightwise bit-rotation for the specified number of rotations.
(Defined by BitExtensions)
Public Extension Method BitRotR Performs rightwise bit-rotation for the specified number of rotations.
(Defined by BitExtensions)
Public Extension Method CheckBits Determines if specified bits are set.
(Defined by BitExtensions)
Public Extension Method CheckBits Determines if specified bits are set.
(Defined by BitExtensions)
Public Extension Method CheckBits Determines if specified bits are set.
(Defined by BitExtensions)
Public Extension Method CheckBits Determines if specified bits are set.
(Defined by BitExtensions)
Public Extension Method ClearBits Returns value with specified bits cleared.
(Defined by BitExtensions)
Public Extension Method ClearBits Returns value with specified bits cleared.
(Defined by BitExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetMaskedValue Returns value stored in the bits represented by the specified bitmask.
(Defined by BitExtensions)
Public Extension Method GetMaskedValue Returns value stored in the bits represented by the specified bitmask.
(Defined by BitExtensions)
Public Extension Method SetBits Returns value with specified bits set.
(Defined by BitExtensions)
Public Extension Method SetBits Returns value with specified bits set.
(Defined by BitExtensions)
Public Extension Method SetMaskedValue Returns value after setting a new value for the bits specified by the bitmask.
(Defined by BitExtensions)
Public Extension Method SetMaskedValue Returns value after setting a new value for the bits specified by the bitmask.
(Defined by BitExtensions)
Public Extension Method ToBinaryString Encodes value as binary, i.e., a string of bit values (0 or 1).
(Defined by BitExtensions)
Public Extension Method ToggleBits Returns value with specified bits toggled.
(Defined by BitExtensions)
Public Extension Method ToggleBits Returns value with specified bits toggled.
(Defined by BitExtensions)
Top
See Also