Edit

Share via


NSData.FromBytesNoCopy Method

Definition

Overloads

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

Parameters

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

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

Parameters

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint
freeWhenDone
Boolean

Returns

Attributes

Applies to