Android Guides | Samples

Java.Lang.Short.ReverseBytes Method

Reverses the bytes of the specified short.

Syntax

[Android.Runtime.Register("reverseBytes", "(S)S", "")]
public static Int16 ReverseBytes (Int16 s)

Parameters

s
the short value for which to reverse bytes.

Remarks

Reverses the bytes of the specified short.

[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