std.hex [core] std.hex.encode pub fn encode(b: List[byte]) -> str — b as lowercase hexadecimal, two digits per byte, no separators and no 0x prefix. std.hex.encode_upper pub fn encode_upper(b: List[byte]) -> str — encode with uppercase digits ("000FFF"). std.hex.decode pub fn decode(s: str) -> List[byte] ! {parse} — s decoded from hexadecimal; parse when the length is odd or any character is not a hex digit. std.hex.encode_str pub fn encode_str(s: str) -> str — The UTF-8 bytes of s, hex-encoded — lowercase, two digits per byte, no separators, no 0x prefix. std.hex.decode_str pub fn decode_str(s: str) -> str ! {parse, utf8} — s decoded from hexadecimal and read back as text — encode_str's inverse, and the round trip §11 requires of every encoder here.