mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add base64 encoding and decoding to the lua api. (#3919)
This commit is contained in:
parent
c4e083f7e1
commit
62d15ac7c1
4 changed files with 49 additions and 0 deletions
|
@ -210,6 +210,10 @@ string:trim()
|
|||
^ eg. string.trim("\n \t\tfoo bar\t ") == "foo bar"
|
||||
core.is_yes(arg) (possible in async calls)
|
||||
^ returns whether arg can be interpreted as yes
|
||||
minetest.encode_base64(string) (possible in async calls)
|
||||
^ Encodes a string in base64.
|
||||
minetest.decode_base64(string) (possible in async calls)
|
||||
^ Decodes a string encoded in base64.
|
||||
|
||||
Version compat:
|
||||
core.get_min_supp_proto()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue