ByteArrayExtensions.

ToStringUsingEncoding(byte[], Encoding, bool) Method

Summary

Converts a byte array to a string.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
ByteArrayExtensions

Syntax

public static string ToStringUsingEncoding(this byte[] value, Encoding encoding, bool skipPreamble)

Parameters

Name Type Description
value byte[] Value to convert.
encoding Encoding Encoding of the string.
skipPreamble bool True if value contains a preamble which should not be returned.

Return Value

Type Description
string Converted string.