Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: byte[] ToUtf8(this string)

Declaration

public static byte[] ToUtf8(
    this string input
)

Summary

Converts the specified string to UTF-8.

Parameters

this stringinput String to convert to UTF-8.

Returns

The specified string, converted to a byte-array containing the UTF-8 encoding of the string.