Summary
Converts a byte array of an UTF-8 encoded string to a string.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- ByteArrayExtensions
Syntax
public static string ToStringUsingEncoding(this byte[] value, bool skipPreamble)
Parameters
Name | Type | Description |
---|---|---|
value | byte[] | Value to convert. |
skipPreamble | bool | True if value contains a BOM which should not be returned. |
Return Value
Type | Description |
---|---|
string | Converted string. |