Files
marqdo/tests/lib/encoding-smoke.mq.md
T
cflmyandCursor 838a2b425a feat(stdlib): Mid M1 regex and encoding libraries
Add lib/re and lib/encoding (EN/ZH) backed by host_re_* and
host_encoding_*, with golds, public demos, and design docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:02:43 +08:00

291 B


title: lib/encoding smoke import enc:lib/encoding.mq.md

main

b = > enc.base64_encode text="hello"

print text=b

back = > enc.base64_decode text=b

print text=back

h = > enc.hex_encode text="hi"

print text=h

hb = > enc.hex_decode text=h

print text=hb