Cú pháp
base64_decode(data: string): stringAlias
base64decodebase64.decodecrypt.base64.decodecrypt.base64_decodecrypt.base64decodeĐối số
| Tên | Kiểu | Mô tả |
|---|---|---|
data | string | Chuỗi được mã hóa base64. |
Giá trị trả về
| Tên | Kiểu | Mô tả |
|---|---|---|
decoded | string | Chuỗi được giải mã base64. |
Mô tả
Giải mã chuỗi được mã hóa base64.
Goi voi 1 parameter: data. Bang arguments giai thich gia tri nao bat buoc va gia tri nao chi tinh chinh hanh vi.
Tra ve decoded (string). Dung bang returns de tach gia tri thanh cong, ket qua nil va loi co the xu ly.
Ví dụ
Vi du goi ham voi gia tri mau.
local result = base64_decode("example")
print(result)