FromUrlEncodedBase64 Method
Definition
FromUrlEncodedBase64()
Creates a parser that converts a string, represented in URL-safe base-64 digits, to its equivalent byte array.
public static IParser<byte[]> FromUrlEncodedBase64()
Returns
- IParser<byte[]>
An implementation of IConfigurableParser<TOptions> that produces byte arrays.
Exceptions
- ArgumentNullException
string cannot be null.
- ArgumentException
string cannot be empty or consist only of white-space characters.
- FormatException
string consist of illegal base-64 digits.