Class EncodingConverter
This utility class is designed to make System.Text.Encoding conversions easier to work with.
Inheritance
System.Object
EncodingConverter
Namespace: Cuemon.Text
Assembly: Cuemon.Core.dll
Syntax
public static class EncodingConverter
Methods
| Improve this DocToAsciiEncodedString(String, Action<EncodingOptions>)
Converts the specified value
to its equivalent ASCII encoded representation.
Declaration
public static string ToAsciiEncodedString(string value, Action<EncodingOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to apply with an ASCII encoding conversion. |
System.Action<EncodingOptions> | setup | The EncodingOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.String | A string that is ASCII encoded. |