std.bech32 [core] std.bech32.Decoded pub struct Decoded { hrp: str, data: List[byte], } — A validated lowercase HRP and 5-bit data words, excluding checksum. std.bech32.encode pub fn encode(hrp: str, data: List[byte]) -> str ! {parse} — BIP-173 encoding of 5-bit data words. std.bech32.decode pub fn decode(s: str) -> Decoded ! {parse} — Validates BIP-173 syntax/case/checksum and returns lowercase HRP and 5-bit data excluding checksum. std.bech32.encode_bytes pub fn encode_bytes(hrp: str, b: List[byte]) -> str ! {parse} — Encodes bytes as MSB-first 5-bit words with zero padding, then Bech32. std.bech32.decode_bytes pub fn decode_bytes(s: str, hrp: str, n: int) -> List[byte] ! {parse} — Decodes canonical MSB-first bytes with exactly n bytes and the specified lowercase hrp.