This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.
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. |
