Summary
Extensions for working with byte arrays.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ByteArrayExtensions"]
class Type type-node
Syntax
public static class ByteArrayExtensions
Methods
Name | Value | Summary |
---|---|---|
RemovePreamble |
byte[] |
Removes the BOM of an UTF-8 encoded byte array.
static
|
RemovePreamble |
byte[] |
Removes the preamble from an byte array.
static
|
ToByteArray |
byte[] |
Converts a string to a byte array using UTF-8 encoding.
static
|
ToByteArray |
byte[] |
Converts a string to a byte array using a specific encoding.
static
|
To |
string |
Converts a byte array of an UTF-8 encoded string to a string.
static
|
To |
string |
Converts a byte array of an UTF-8 encoded string to a string.
static
|
To |
string |
Converts a byte array to a string.
static
|