1 Star 0 Fork 0

fufuok / basex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
base67.go 308 Bytes
一键复制 编辑 原始数据 按行查看 历史
fufuok 提交于 2021-04-21 17:04 . Update: add more basex, base58
package basex
var enc67, _ = New("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.!~")
// Base67 编码
func B67Encode(b []byte) string {
return enc67.Encode(b)
}
// Base67 解码
func B67Decode(s string) []byte {
if b, err := enc67.Decode(s); err == nil {
return b
}
return nil
}
Go
1
https://gitee.com/fufuok/basex.git
git@gitee.com:fufuok/basex.git
fufuok
basex
basex
master

搜索帮助