std.base64 [core] std.base64.encode_raw pub fn encode_raw(b: List[byte]) -> str — RFC 4648 section 4 standard-alphabet base64 without padding, as age specifies. std.base64.decode_raw pub fn decode_raw(s: str) -> List[byte] ! {parse} — Strict unpadded standard base64. std.base64.encode pub fn encode(b: List[byte]) -> str — b encoded with the standard alphabet and = padding — RFC 4648 §4, the encoding every Authorization: Basic header and every PEM block uses. std.base64.url_encode pub fn url_encode(b: List[byte]) -> str — b encoded with the URL- and filename-safe alphabet (- and _ for + and /) and NO padding — RFC 4648 §5 with its padding sentence taken: = needs escaping in a query string, which is the whole point of the variant. std.base64.decode pub fn decode(s: str) -> List[byte] ! {parse} — s decoded with the standard alphabet, STRICTLY: parse unless the length is a multiple of four, the padding is exactly what the byte count requires, every other character is in the alphabet, and the unused low bits of a short final group are zero. std.base64.url_decode pub fn url_decode(s: str) -> List[byte] ! {parse} — s decoded with the URL-safe alphabet, padding optional. std.base64.decode_lenient pub fn decode_lenient(s: str) -> List[byte] ! {parse} — s decoded with the standard alphabet, forgivingly: padding may be absent or short, and a final group's unused bits may be anything.