Düzenle

Aracılığıyla paylaş


NSData.FromArray(Byte[]) Method

Definition

Creates an NSData that wraps a managed C# byte array.

public static Foundation.NSData FromArray (byte[] buffer);
static member FromArray : byte[] -> Foundation.NSData

Parameters

buffer
Byte[]

C# Byte array containing the data to wrap.

Returns

Newly created NSData object wrapping the contents of the array.

Applies to