Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

decode

encodings.base64.decode

(data array u8)
 => 
outcome (array u8)
[Contains abstract features]
decodes a sequence of ASCII characters, decoding is strict as required by RFC 4648
non alphabet characters, line breaks, missing padding cause errors

NYI: decoding does currently not reject encodings where the padding bits have not been set to zero prior to encoding
therefore in some cases multiple encodings can be decoded to the same data
See RFC4648 section 3.5: https://datatracker.ietf.org/doc/html/rfc4648#section-3.5
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)