Encoding.GetBytes Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, 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.
| Name | Description | |
|---|---|---|
|
GetBytes(Char[]) | When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. |
|
GetBytes(String) | When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes. |
|
GetBytes(Char[], Int32, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. |
|
GetBytes(Char*, Int32, Byte*, Int32) | Security Critical. When overridden in a derived class, 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. |
|
GetBytes(Char[], Int32, Int32, Byte[], Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array. |
|
GetBytes(String, Int32, Int32, Byte[], Int32) | When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array. |
Show: