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

> Base64 decoder로 Base64 입력을 디코드하고 디코드된 바이트를 Lua string으로 반환합니다.

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

  ## 별칭

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

  ## 인수

  <ParamField path={"data"} type={"string"} required>
    Base64 decoder에 전달되는 Base64 입력입니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"decoded"} type={"string"}>
    명시적인 길이를 가진 Lua string으로 반환되는 디코드된 바이트입니다.
  </ResponseField>

  ## 예제

  Base64 데이터를 디코드하고 반환된 Lua string을 읽습니다.

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

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