base64decode

base64decode(string)

Decodes the base64-encoded string and returns a Vector{UInt8} of the decoded bytes.

Examples

In the Julia programming language, the function base64decode(string) decodes a base64-encoded string and returns a Vector{UInt8} of the decoded bytes.

julia> base64decode("SGVsbG8gV29ybGQ=")
"Hello World"

Provide common examples of its use:

  1. Decode a base64-encoded string:

    julia> base64decode("SGVsbG8gV29ybGQ=")
    "Hello World"

    This example decodes the base64-encoded string "SGVsbG8gV29ybGQ=" and returns the corresponding decoded string "Hello World".

  2. Decode a base64-encoded image:
    
    julia> encoded_image = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAArElEQVR42mNgoBZg6KYaGyNTY2Nj8zMTGxM5gXmQCzGRsQZgAmEcYQQWqVlZW6AWZgWgJmBqAGYF0A9OxitjGt5hV0AxMjKwMDCwMnBvB1Q6eIeJCCMzEzGBn4G5o0jGRgY2gAmQaQGZgZGsevDwMDAwMzAykTtJVgovPz8zAy6gkAkFhJ8D2gCgYcYQAbGwvMzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJyBv7+/MwMSmIyMDiZgQAeQl4wqgKZgCmDzg7MzDQRJy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string, graphemes, ind2chr, iscntrl, istext, isupper, isvalid, join, lcfirst, lowercase, lpad, lstrip, normalize_string, num2hex, parseip, randstring, readuntil, replace, repr, rpad, rsplit, rstrip, search, searchindex, split, startswith, string, stringmime, strip, strwidth, summary, takebuf_string, ucfirst, unescape_string, uppercase, utf16, utf32, utf8, wstring,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: