---
title: "BASE64编解码-gbase64"
url: "https://goframe.org/docs/components/encoding-gbase64"
markdown_url: "https://goframe.org/docs/components/encoding-gbase64.md"
locale: "zh-Hans"
version: "2.10.x(Latest)"
section: "组件列表"
category: "组件列表 / 编码解码"
published: "2024-10-21"
updated: "2024-11-11"
description: "使用BASE64编解码功能，基于GoFrame框架的gbase64包，提供编码和解码方法。通过GitHub链接和接口文档了解更多，适用于Go语言开发者的实用组件。"
keywords: ["BASE64", "GoFrame", "编码", "解码", "gbase64", "GoFrame框架", "接口文档", "编码解析", "Go语言", "软件开发"]
---

# BASE64编解码-gbase64

`BASE64` 编码解析。

**使用方式**：

```go
import "github.com/gogf/gf/v2/encoding/gbase64"
```

**接口文档**：

[https://pkg.go.dev/github.com/gogf/gf/v2/encoding/gbase64](https://pkg.go.dev/github.com/gogf/gf/v2/encoding/gbase64)
