For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
b64decode
def b64decode[*, validate: Bool = False](str: StringSlice) -> List[UInt8]
Performs base64 decoding on the input string.
Parameters:
- validate (
Bool): If true, the function will validate the input string.
Args:
- str (
StringSlice): A base64 encoded string.
Returns:
List[UInt8]: The decoded bytes.
Raises:
If the operation fails.