Table of Contents

ToEncodedString Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/ByteArrayDecoratorExtensions.cs

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

decorator IDecorator<byte[]>

The decorator that wraps the byte array to extend.

setup Action<EncodingOptions>

The EncodingOptions which may be configured.

Returns

string

A string that is equivalent to the enclosed byte array of the specified decorator.

Remarks