encoding/base64.Encoding.EncodeToString (method)
9 uses
encoding/base64 (current package)
base64.go#L195: func (enc *Encoding) EncodeToString(src []byte) string {
github.com/gotd/td/tdjson
encoder.go#L99: b.Writer.Str(base64.RawURLEncoding.EncodeToString(v))
github.com/gotd/td/tdp
tdp.go#L43: b.WriteString(base64.RawURLEncoding.EncodeToString(buf))
github.com/gotd/td/telegram/auth/qrlogin
token.go#L59: return base64.URLEncoding.EncodeToString(t.token)
token.go#L66: return "tg://login?token=" + base64.URLEncoding.EncodeToString(t.token)
go.uber.org/zap/zapcore
json_encoder.go#L111: enc.AddString(key, base64.StdEncoding.EncodeToString(val))
net/http
client.go#L428: return base64.StdEncoding.EncodeToString([]byte(auth))
nhooyr.io/websocket
accept.go#L351: return base64.StdEncoding.EncodeToString(h.Sum(nil))
dial.go#L222: return base64.StdEncoding.EncodeToString(b), nil
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |