次の方法で共有


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

戻り値

属性

適用対象