[This is preliminary documentation and is subject to change.]
Encodes string with standart UTF8 encoder
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static byte[] ToUTF8Bytes(
this string str
)
public static byte[] ToUTF8Bytes(
this string str
)
<ExtensionAttribute>
Public Shared Function ToUTF8Bytes (
str As String
) As Byte()
<ExtensionAttribute>
Public Shared Function ToUTF8Bytes (
str As String
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ ToUTF8Bytes(
String^ str
)
public:
[ExtensionAttribute]
static array<unsigned char>^ ToUTF8Bytes(
String^ str
)
static member ToUTF8Bytes :
str : string -> byte[]
static member ToUTF8Bytes :
str : string -> byte[]
Return Value
Type:
Byte Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).