ToHexadecimal Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
ToHexadecimal(string, Action<EncodingOptions>)
Converts the specified value to its equivalent hexadecimal representation.
public static string ToHexadecimal(this string value, Action<EncodingOptions> setup = null)
Parameters
valuestringThe string to extend.
setupAction<EncodingOptions>The EncodingOptions which need to be configured.
Returns
Remarks
EncodingOptions will be initialized with DefaultPreambleSequence and DefaultEncoding.