Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

decode_as_bytes

encodings.percent.decode_as_bytes

Decode a percent encoded (url encoded) string into a sequence of bytes

The encoded input string may only contain the following characters
"A"-"Z", "a"-"z", "0"-"9", "-", ".", "_", "~", and "+"
or the string "%HH" where H is a hexadecimal digit (case insensitive).

Any other character or broken encoding will return an error.

* The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9",
as well as the special characters "-", ".", "_", and "~" are converted to the corresponding ascii value.
* Percent encoded bytes ("%HH") are simply converted to a byte.
* The plus character "+" is converted to the ascii value of the space character " ".
0.099dev (GIT hash a1331a3dc7ff37424401d3c7d0dba5be1302516f)
last changed: 2026-07-23