var encoding/base64.StdEncoding
21 uses
encoding/base64 (current package)
base64.go#L117: var StdEncoding = NewEncoding(encodeStd)
base64.go#L126: var RawStdEncoding = StdEncoding.WithPadding(NoPadding)
encoding/json
decode.go#L936: b := make([]byte, base64.StdEncoding.DecodedLen(len(s)))
decode.go#L937: n, err := base64.StdEncoding.Decode(b, s)
encode.go#L785: encodedLen := base64.StdEncoding.EncodedLen(len(s))
encode.go#L791: base64.StdEncoding.Encode(b[len(b):][:encodedLen], s)
encoding/pem
pem.go#L171: p.Bytes = make([]byte, base64.StdEncoding.DecodedLen(len(base64Data)))
pem.go#L172: n, err := base64.StdEncoding.Decode(p.Bytes, base64Data)
pem.go#L291: b64 := base64.NewEncoder(base64.StdEncoding, &breaker)
github.com/go-faster/jx
w_b64.go#L35: e := stdbase64.NewEncoder(stdbase64.StdEncoding, s.writer)
github.com/gotd/td/telegram/dcs
dns.go#L143: encoding := base64.StdEncoding
go.uber.org/zap/zapcore
json_encoder.go#L111: enc.AddString(key, base64.StdEncoding.EncodeToString(val))
mime
encodedword.go#L79: var maxBase64Len = base64.StdEncoding.DecodedLen(maxContentLen)
encodedword.go#L83: w := base64.NewEncoder(base64.StdEncoding, buf)
encodedword.go#L86: if !isUTF8(charset) || base64.StdEncoding.EncodedLen(len(s)) <= maxContentLen {
encodedword.go#L307: return base64.StdEncoding.DecodeString(text)
net/http
client.go#L428: return base64.StdEncoding.EncodeToString([]byte(auth))
request.go#L964: c, err := base64.StdEncoding.DecodeString(auth[len(prefix):])
nhooyr.io/websocket
accept.go#L199: if v, err := base64.StdEncoding.DecodeString(websocketSecKey); err != nil || len(v) != 16 {
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. |