Partager via


NSData.FromBytesNoCopy Méthode

Définition

Surcharges

FromBytesNoCopy(IntPtr, nuint)
FromBytesNoCopy(IntPtr, nuint, Boolean)

FromBytesNoCopy(IntPtr, nuint)

[Foundation.Export("dataWithBytesNoCopy:length:")]
public static Foundation.NSData FromBytesNoCopy (IntPtr bytes, nuint size);
static member FromBytesNoCopy : nativeint * nuint -> Foundation.NSData

Paramètres

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint

Retours

Attributs

S’applique à

FromBytesNoCopy(IntPtr, nuint, Boolean)

[Foundation.Export("dataWithBytesNoCopy:length:freeWhenDone:")]
public static Foundation.NSData FromBytesNoCopy (IntPtr bytes, nuint size, bool freeWhenDone);
static member FromBytesNoCopy : nativeint * nuint * bool -> Foundation.NSData

Paramètres

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint
freeWhenDone
Boolean

Retours

Attributs

S’applique à