共用方式為


ShortBuffer.Order Method

Definition

Retrieves this buffer's byte order.

[Android.Runtime.Register("order", "()Ljava/nio/ByteOrder;", "GetOrderHandler")]
public abstract Java.Nio.ByteOrder? Order ();
[<Android.Runtime.Register("order", "()Ljava/nio/ByteOrder;", "GetOrderHandler")>]
abstract member Order : unit -> Java.Nio.ByteOrder

Returns

This buffer's byte order

Attributes

Remarks

Retrieves this buffer's byte order.

The byte order of a short buffer created by allocation or by wrapping an existing short array is the ByteOrder#nativeOrder native order of the underlying hardware. The byte order of a short buffer created as a view of a byte buffer is that of the byte buffer at the moment that the view is created.

Java documentation for java.nio.ShortBuffer.order().

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