uce/site/doc/pages/base64_encode.txt
2026-06-16 12:21:31 +00:00

23 lines
332 B
Plaintext

:sig
String base64_encode(String raw)
:params
raw : binary-safe source string
return value : Base64 encoded string
:see
>string
base64_decode
:content
Encodes a string with Base64.
UCE strings can contain binary data, so `raw` may include NUL bytes and non-text bytes.
Example:
:example
print(base64_encode("hello"), "\n");