ToEncodedString Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
ToEncodedString(IDecorator<byte[]>, Action<EncodingOptions>)
Converts the enclosed byte array of the specified decorator to its equivalent string representation.
public static string ToEncodedString(this IDecorator<byte[]> decorator, Action<EncodingOptions> setup = null)
Parameters
decoratorIDecorator<byte[]>The decorator that wraps the byte array to extend.
setupAction<EncodingOptions>The EncodingOptions which may be configured.
Returns
Remarks
EncodingOptions will be initialized with DefaultPreambleSequence and DefaultEncoding.