NSData.FromBytesNoCopy 方法

定义

重载

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

参数

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint

返回

属性

适用于

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

参数

bytes
IntPtr

nativeint

size
System.System.UIntPtr System.unativeint
freeWhenDone
Boolean

返回

属性

适用于