Freigeben über


Character.ReverseBytes(Char) Method

Definition

Returns the value obtained by reversing the order of the bytes in the specified char value.

[Android.Runtime.Register("reverseBytes", "(C)C", "")]
public static char ReverseBytes (char ch);
[<Android.Runtime.Register("reverseBytes", "(C)C", "")>]
static member ReverseBytes : char -> char

Parameters

ch
Char

The char of which to reverse the byte order.

Returns

the value obtained by reversing (or, equivalently, swapping) the bytes in the specified char value.

Attributes

Remarks

Returns the value obtained by reversing the order of the bytes in the specified char value.

Added in 1.5.

Java documentation for java.lang.Character.reverseBytes(char).

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