Convert Method

Encoder.Convert Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts a buffer or array of Unicode characters to an encoded byte sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Convert(Char*, Int32, Byte*, Int32, Boolean, Int32, Int32, Boolean) Security Critical. Converts a buffer of Unicode characters to an encoded byte sequence and stores the result in another buffer.
Public method Convert(Char[], Int32, Int32, Byte[], Int32, Int32, Boolean, Int32, Int32, Boolean) Converts an array of Unicode characters to an encoded byte sequence and stores the result in an array of bytes.
Top

Show:
© 2017 Microsoft