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 string to a byte array using UTF-8 encoding.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- ByteArrayExtensions
Syntax
public static byte[] ToByteArray(this string value)
Parameters
Name | Type | Description |
---|---|---|
value | string | String value to convert. |
Return Value
Type | Description |
---|---|
byte[] | Byte array with string value in UTF-8 encoding. |