Share via


Long.ReverseBytes(Int64) Method

Definition

Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified long value.

[Android.Runtime.Register("reverseBytes", "(J)J", "")]
public static long ReverseBytes (long i);
[<Android.Runtime.Register("reverseBytes", "(J)J", "")>]
static member ReverseBytes : int64 -> int64

Parameters

i
Int64

the value whose bytes are to be reversed

Returns

the value obtained by reversing the bytes in the specified long value.

Attributes

Remarks

Java documentation for java.lang.Long.reverseBytes(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