Summary
Removes the BOM of an 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. |