Skip to content

IsBase64 Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Overloads ​

NameDescription
bool IsBase64(string input)Checks string to see if it appears to possibly be Base64 encoded
bool IsBase64(string input, out byte[] output)Checks string to see if it appears to possibly be Base64 encoded

bool IsBase64(string input) ​

csharp
bool IsBase64(string input)

Checks string to see if it appears to possibly be Base64 encoded

Parameters ​

NameDescription
inputstring to process

Returns ​

Boolean true if input string appears to be Base64 encodeded, otherwise false

bool IsBase64(string input, out byte[] output) ​

csharp
bool IsBase64(string input, out byte[] output)

Checks string to see if it appears to possibly be Base64 encoded

Parameters ​

NameDescription
inputstring to process

Returns ​

Boolean true if input string appears to be Base64 encodeded, otherwise false