2024-11-23 15:11:17 +03:00

317 B

base64 library

Library for base64 encoding/decoding.

-- 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