add doc/*/scripting/builtins/libbase64.md

This commit is contained in:
MihailRis
2024-11-23 15:11:17 +03:00
parent 89578ff257
commit 8c0d360543
4 changed files with 26 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
# *base64* library
Library for base64 encoding/decoding.
```lua
-- Encode bytes to base64 string
base64.encode(bytes: table|ByteArray) -> str
-- Decode base64 string to ByteArray or lua table if second argument is set to true
base64.decode(base64string: str, [optional]usetable: bool=false) -> table|ByteArray
```