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 of a 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. |