Standard Library
std.encoding
Binary-to-text encodings: base64, URL-safe base64, and hex.
Exported functions
Encode bytes as standard base64 text.
Encode UTF-8 text as standard base64 text.
Decode standard base64 text into bytes, throwing on invalid input.
Decode standard base64 text into bytes, panicking on invalid input.
Encode bytes as URL-safe base64 text without padding.
Encode UTF-8 text as URL-safe base64 text without padding.
Decode URL-safe base64 text into bytes, throwing on invalid input.
Decode URL-safe base64 text into bytes, panicking on invalid input.
Encode bytes as lowercase hexadecimal text.
Encode UTF-8 text as lowercase hexadecimal text.
Decode hexadecimal text into bytes, throwing on invalid input.
Decode hexadecimal text into bytes, panicking on invalid input.