Table of Contents

FromUrlEncodedBase64 Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/StringExtensions.cs

FromUrlEncodedBase64(string)

Converts the specified input of URL-safe base64 characters to its equivalent byte array representation.

public static byte[] FromUrlEncodedBase64(this string input)

Parameters

input string

The string to extend.

Returns

byte[]

A byte array that is equivalent to input.

Exceptions

ArgumentNullException

input cannot be null.

ArgumentException

input cannot be empty or consist only of white-space characters.

ArgumentOutOfRangeException

input has illegal base64 characters.

See Also