Binary​String​Encoding Binary​String​Encoding Binary​String​Encoding Enum


Contains encoding formats that can be used in the ConvertStringToBinary and ConvertBinaryToString methods.

public : enum class BinaryStringEncodingpublic enum BinaryStringEncodingPublic Enum BinaryStringEncoding
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Utf16BE Utf16BE Utf16BE

Sixteen bit Unicode Transformation Format in big-endian byte order.

Utf16LE Utf16LE Utf16LE

Sixteen bit Unicode Transformation Format in little-endian byte order. The encoding process creates a variable length result of one or two 8-bit bytes per Unicode code point.

Utf8 Utf8 Utf8

Eight bit Unicode Transformation Format. The process encodes each Unicode code point into one to four 8-bit bytes. Code points represented by lower numerical values are encoded using fewer bytes. In particular, the first 128 characters correspond exactly to the ASCII character set and are encoded by using a single octet.