UByte (original) (raw)

Types

Functions

Performs a bitwise AND operation between the two values.

Ensures that this value is not less than the specified minimumValue.

Ensures that this value is not greater than the specified maximumValue.

Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.

Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.

Counts the number of consecutive most significant bits that are zero in the binary representation of this UByte number.

Counts the number of set bits in the binary representation of this UByte number.

Counts the number of consecutive least significant bits that are zero in the binary representation of this UByte number.

Returns this value decremented by one.

Divides this value by the other value, truncating the result to an integer that is closer to zero.

Returns a progression from this value down to and including the specified to value with the step -1.

Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.

Returns this value incremented by one.

Inverts the bits in this value.

Subtracts the other value from this value.

Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).

Performs a bitwise OR operation between the two values.

Adds the other value to this value.

Creates a range from this value to the specified other value.

Creates a range from this value up to but excluding the specified other value.

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

Rotates the binary representation of this UByte number left by the specified bitCount number of bits. The most significant bits pushed out from the left side reenter the number as the least significant bits on the right side.

Rotates the binary representation of this UByte number right by the specified bitCount number of bits. The least significant bits pushed out from the right side reenter the number as the most significant bits on the left side.

Returns a number having a single bit set in the position of the most significant set bit of this UByte number, or zero, if this number is zero.

Returns a number having a single bit set in the position of the least significant set bit of this UByte number, or zero, if this number is zero.

Multiplies this value by the other value.

Formats this UByte value using the specified format.

Returns a string representation of this Byte value in the specified radix.

Returns a range from this value up to but excluding the specified to value.

Performs a bitwise XOR operation between the two values.