Share via


Base64UrlTextEncoder.Encode(Byte[]) Method

Definition

Encodes supplied data into Base64 and replaces any URL encodable characters into non-URL encodable characters.

public:
 static System::String ^ Encode(cli::array <System::Byte> ^ data);
public static string Encode (byte[] data);
static member Encode : byte[] -> string
Public Shared Function Encode (data As Byte()) As String

Parameters

data
Byte[]

Data to be encoded.

Returns

Base64 encoded string modified with non-URL encodable characters

Applies to