Skip to main content
Log in

Mojo function

b64decode

b64decode[validate: Bool = False](str: StringSlice[origin]) -> String

Performs base64 decoding on the input string.

Parameters:

  • validate (Bool): If true, the function will validate the input string.

Args:

  • str (StringSlice[origin]): A base64 encoded string.

Returns:

The decoded string.