NSData.FromArray(Byte[]) 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.
Creates an NSData that wraps a managed C# byte array.
public static Foundation.NSData FromArray (byte[] buffer);
static member FromArray : byte[] -> Foundation.NSData
Parameters
- buffer
- Byte[]
C# Byte array containing the data to wrap.
Returns
Newly created NSData object wrapping the contents of the array.