Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UnicodeEncoding.GetBytes Method

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
Public method Supported by the XNA Framework Supported by Portable Class Library GetBytes(Char[]) When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. (Inherited from Encoding.)
Public method Supported by the XNA Framework Supported by Portable Class Library GetBytes(String) When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes. (Inherited from Encoding.)
Public method Supported by the XNA Framework Supported by Portable Class Library 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. (Inherited from Encoding.)
Public method Supported by Portable Class Library GetBytes(Char*, Int32, Byte*, Int32) 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. (Inherited from Encoding.)
Public method GetBytes(Char*, Int32, Byte*, Int32) 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).)
Public method Supported by the XNA Framework Supported by Portable Class Library GetBytes(Char[], Int32, Int32, Byte[], Int32) Encodes a set of characters from the specified character array into the specified byte array. (Overrides Encoding.GetBytes(Char[], Int32, Int32, Byte[], Int32).)
Public method Supported by the XNA Framework Supported by Portable Class Library GetBytes(String, Int32, Int32, Byte[], Int32) Encodes a set of characters from the specified String into the specified byte array. (Overrides Encoding.GetBytes(String, Int32, Int32, Byte[], Int32).)
Top
Show:
© 2015 Microsoft