feat(stdlib): Mid2 M8 toml, html escape, and base32
Add read-only TOML subset parse, HTML escape/unescape, and RFC 4648 base32 on encoding; gold tests and public demos included. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
08c48f3acb
commit
435f36b6e9
24 files changed
+748
-18
No files matched your search
+13
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: lib/encoding
|
||||
description: Base64 and hex encode/decode (Mid M1). UTF-8 text round-trip.
|
||||
description: Base64, hex, and base32 encode/decode (Mid M1 + Mid2 M8). UTF-8 text round-trip.
|
||||
---
|
||||
|
||||
## base64_encode
|
||||
@@ -22,3 +22,15 @@ description: Base64 and hex encode/decode (Mid M1). UTF-8 text round-trip.
|
||||
+ `text`
|
||||
|
||||
**> host_encoding_hex_decode text=`text`**
|
||||
|
||||
## base32_encode
|
||||
+ `text`
|
||||
|
||||
RFC 4648 alphabet; padding with `=`.
|
||||
|
||||
**> host_encoding_base32_encode text=`text`**
|
||||
|
||||
## base32_decode
|
||||
+ `text`
|
||||
|
||||
**> host_encoding_base32_decode text=`text`**
|
||||
Reference in new issue
Block a user