added str::frombase64() and str::tobase64()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-24 15:06:52 +09:00
parent 1475451523
commit 5043c16532
3 changed files with 289 additions and 21 deletions

View File

@@ -1003,6 +1003,7 @@ Hawk supports various modules.
### String
The `str` module provides an extensive set of string manipulation functions.
- str::frombase64 - decode a base64-encoded byte string
- str::fromcharcode
- str::fromhex
- str::gsub - equivalent to gsub
@@ -1029,6 +1030,7 @@ The `str` module provides an extensive set of string manipulation functions.
- str::split - equivalent to split
- str::sub - equivalent to sub
- str::substr - equivalent to substr
- str::tobase64 - encode data to a base64 byte string
- str::tocharcode - get the numeric value of the first character
- str::tohex
- str::tolower - equivalent to tolower