Files
marqdo/lib/encoding.mq.md
T
cflmyandCursor fecaacd5be docs(lib): narrate remaining stdlib modules (M2)
Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:47:35 +08:00

828 B

title, description
title description
lib/encoding Base64, hex, and base32 encode/decode (Mid M1 + Mid2 M8). UTF-8 text round-trip.

Base64, hex, and base32 encode/decode. UTF-8 text round-trip.

base64_encode

+ `text`

Base64-encode text.

Caller: [encoding.base64_encode] text=s

> host_encoding_base64_encode text=text

base64_decode

+ `text`

Base64-decode text.

> host_encoding_base64_decode text=text

hex_encode

+ `text`

Hex-encode text.

> host_encoding_hex_encode text=text

hex_decode

+ `text`

Hex-decode text.

> host_encoding_hex_decode text=text

base32_encode

+ `text`

Base32-encode text (RFC 4648 alphabet; padding with =).

> host_encoding_base32_encode text=text

base32_decode

+ `text`

Base32-decode text.

> host_encoding_base32_decode text=text