NSData.FromBytesNoCopy 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性