NSString.DetectStringEncoding NSString.DetectStringEncoding Method

Definition

Overloads

DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean) DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean)
DetectStringEncoding(NSData, NSDictionary, String, Boolean) DetectStringEncoding(NSData, NSDictionary, String, Boolean)

DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean) DetectStringEncoding(NSData, EncodingDetectionOptions, String, Boolean)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static nuint DetectStringEncoding (Foundation.NSData rawData, Foundation.EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion);
static member DetectStringEncoding : Foundation.NSData * Foundation.EncodingDetectionOptions *  *  -> nuint

Parameters

rawData
NSData NSData
convertedString
String String
usedLossyConversion
Boolean Boolean

Returns

DetectStringEncoding(NSData, NSDictionary, String, Boolean) DetectStringEncoding(NSData, NSDictionary, String, Boolean)

[Foundation.Export("stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static nuint DetectStringEncoding (Foundation.NSData rawData, Foundation.NSDictionary options, out string convertedString, out bool usedLossyConversion);
static member DetectStringEncoding : Foundation.NSData * Foundation.NSDictionary *  *  -> nuint

Parameters

rawData
NSData NSData
convertedString
String String
usedLossyConversion
Boolean Boolean

Returns

Applies to