Java.Lang.Integer.HighestOneBit Method
Determines the highest (leftmost) bit of the specified integer that is 1 and returns the bit mask value for that bit.

Syntax

[Android.Runtime.Register("highestOneBit", "(I)I", "")]
public static int HighestOneBit (int i)

Parameters

i
the integer to examine.

Returns

Documentation for this section has not yet been entered.

Remarks

Determines the highest (leftmost) bit of the specified integer that is 1 and returns the bit mask value for that bit. This is also referred to as the Most Significant 1 Bit. Returns zero if the specified integer is zero.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1