MCPcopy Create free account
hub / github.com/corunb/Split_tools / EnBase64

Function EnBase64

cmd/encode.go:5–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "encoding/base64"
4
5func EnBase64() {
6 en64 := ReadFile(EncodeFile)
7 //base64压缩
8 sourcestring := base64.StdEncoding.EncodeToString([]byte(en64))
9 Write(sourcestring, -1)
10}

Callers 1

RunFunction · 0.85

Calls 2

ReadFileFunction · 0.85
WriteFunction · 0.85

Tested by

no test coverage detected