跳至主要內容

對 base64 編碼的文字進行解碼 (string.base64_decode)

聲明

資料內容 = string.base64_decode(b64 文字)

參數

  • b64 文字
    文字型,base64 編碼的文字

回傳值

  • 資料內容
    字串型,返回解碼後的字串

說明

string.base64_encode 的反函式;將 Base64 文字解碼回原始字串(或二進位資料塊)

範例

參考 本章末尾的綜合範例