Share via


Long.ToBinaryString(Int64) Method

Definition

Returns a string representation of the long argument as an unsigned integer in base 2.

[Android.Runtime.Register("toBinaryString", "(J)Ljava/lang/String;", "")]
public static string ToBinaryString (long i);
[<Android.Runtime.Register("toBinaryString", "(J)Ljava/lang/String;", "")>]
static member ToBinaryString : int64 -> string

Parameters

i
Int64

a long to be converted to a string.

Returns

the string representation of the unsigned long value represented by the argument in binary (base&nbsp;2).

Attributes

Remarks

Java documentation for java.lang.Long.toBinaryString(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to