BinaryStringEncoding enumeration

Applies to Windows and Windows Phone

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

Syntax


var value = Windows.Security.Cryptography.BinaryStringEncoding.utf8;

Attributes

[Version(0x06020000)]

Members

The BinaryStringEncoding enumeration has these members.

MemberValueDescription
Utf8 | utf80

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.

Utf16LE | utf16LE1

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.

Utf16BE | utf16BE2

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography
Windows::Security::Cryptography [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft