> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# base64_decode

> Mendekode input Base64 dengan Base64 decoder dan mengembalikan byte yang didekodekan sebagai string Lua.

<div className="real-function-page">
  ```lua theme={null}
  base64_decode(data: string): string
  ```

  ## Alias

  * `base64decode`
  * `base64.decode`
  * `crypt.base64.decode`
  * `crypt.base64_decode`
  * `crypt.base64decode`

  ## Argumen

  <ParamField path={"data"} type={"string"} required>
    Input Base64 yang diteruskan ke Base64 decoder.
  </ParamField>

  ## Return

  <ResponseField name={"decoded"} type={"string"}>
    Byte yang didekodekan dikembalikan sebagai string Lua dengan panjang eksplisit.
  </ResponseField>

  ## Contoh

  Dekode data Base64 dan baca string Lua yang dikembalikan.

  ```lua theme={null}
  local encoded = base64_encode("hello world")
  local decoded = base64_decode(encoded)

  print(decoded)
  print(base64decode(encoded))
  print(base64.decode(encoded))
  ```
</div>
