NSString.FromData(NSData, NSStringEncoding) 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 NSString from an NSData source.
public static Foundation.NSString FromData (Foundation.NSData data, Foundation.NSStringEncoding encoding);
static member FromData : Foundation.NSData * Foundation.NSStringEncoding -> Foundation.NSString
Parameters
- data
- NSData
The byte buffer.
- encoding
- NSStringEncoding
Use this encoding to intepret the byte buffer.
Returns
An NSString created by parsing the byte buffer using the specified encoding.