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
Removes the BOM of a UTF-8 encoded byte array.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- ByteArrayExtensions
Syntax
public static byte[] RemovePreamble(this byte[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | byte[] | UTF-8 encoded byte array. |
Return Value
| Type | Description |
|---|---|
| byte[] | UTF-8 encoded byte array without BOM. |
