Udostępnij za pośrednictwem


CollationKey.ToByteArray Method

Definition

Converts the CollationKey to a sequence of bits.

[Android.Runtime.Register("toByteArray", "()[B", "GetToByteArrayHandler")]
public abstract byte[]? ToByteArray ();
[<Android.Runtime.Register("toByteArray", "()[B", "GetToByteArrayHandler")>]
abstract member ToByteArray : unit -> byte[]

Returns

Byte[]

a byte array representation of the CollationKey

Attributes

Remarks

Converts the CollationKey to a sequence of bits. If two CollationKeys could be legitimately compared, then one could compare the byte arrays for each of those keys to obtain the same result. Byte arrays are organized most significant byte first.

Java documentation for java.text.CollationKey.toByteArray().

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