NSData.FromBytesNoCopy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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