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
返回
- 属性