https://github.com/deyixu/base64-tool
file to base64 string or base64 string to file.
https://github.com/deyixu/base64-tool
base64 base64-tool
Last synced: about 1 year ago
JSON representation
file to base64 string or base64 string to file.
- Host: GitHub
- URL: https://github.com/deyixu/base64-tool
- Owner: DeyiXu
- License: apache-2.0
- Created: 2019-02-14T03:16:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T05:19:40.000Z (over 7 years ago)
- Last Synced: 2025-02-02T23:13:46.504Z (over 1 year ago)
- Topics: base64, base64-tool
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# base64-tool
base64 tool
# 安装
```bash
go get github.com/DeyiXu/base64-tool
go install github.com/DeyiXu/base64-tool
```
# 使用
### 文件转Base64文字
```bash
base64-tool ./test.pdf ./test.txt 1
```
### Base64文字转文件
```bash
base64-tool ./test.txt ./test.pdf 2
```