Dela via


CryptographicBuffer.ConvertBinaryToString Method

Definition

Converts a buffer to an encoded string.

public:
 static Platform::String ^ ConvertBinaryToString(BinaryStringEncoding encoding, IBuffer ^ buffer);
 static winrt::hstring ConvertBinaryToString(BinaryStringEncoding const& encoding, IBuffer const& buffer);
public static string ConvertBinaryToString(BinaryStringEncoding encoding, IBuffer buffer);
function convertBinaryToString(encoding, buffer)
Public Shared Function ConvertBinaryToString (encoding As BinaryStringEncoding, buffer As IBuffer) As String

Parameters

encoding
BinaryStringEncoding

Encoding format.

buffer
IBuffer

Data to be encoded.

Returns

String

Platform::String

winrt::hstring

A string that contains the encoded data.

Applies to