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
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 preamble from a byte array.
static
|
RemovePreamble |
byte[] |
Removes the BOM of a UTF-8 encoded byte array.
static
|
ToByteArray |
byte[] |
Converts a string to a byte array using a specific encoding.
static
|
ToByteArray |
byte[] |
Converts a string to a byte array using UTF-8 encoding.
static
|
To |
string |
Converts a byte array of a UTF-8 encoded string to a string.
static
|
To |
string |
Converts a byte array to a string.
static
|
To |
string |
Converts a byte array of a UTF-8 encoded string to a string.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|