UTF8Encoding.GetBytes Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
Encodes a set of characters into a sequence of bytes.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
GetBytes(array<Char[]) | When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(String) | When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes. (Inherited from Encoding.) In Silverlight for Windows Phone, this member is overridden by GetBytes(String). In XNA Framework, this member is overridden by GetBytes(String). |
|
GetBytes(array<Char[], Int32, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(Char*, Int32, Byte*, Int32) | Security Critical. Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer. (Overrides Encoding.GetBytes(Char*, Int32, Byte*, Int32).) | |
GetBytes(array<Char[], Int32, Int32, array<Byte[], Int32) | Encodes a set of characters from the specified character array into the specified byte array. (Overrides Encoding.GetBytes(array<Char[], Int32, Int32, array<Byte[], Int32).) | |
GetBytes(String, Int32, Int32, array<Byte[], Int32) | Encodes a set of characters from the specified string into the specified byte array. (Overrides Encoding.GetBytes(String, Int32, Int32, array<Byte[], Int32).) |
Top