encoding/base64.Encoding.EncodedLen (method)
13 uses
encoding/base64 (current package)
base64.go#L178: buf := make([]byte, enc.EncodedLen(len(src)))
base64.go#L246: _, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
base64.go#L263: func (enc *Encoding) EncodedLen(n int) int {
encoding/json
encode.go#L840: encodedLen := base64.StdEncoding.EncodedLen(len(s))
github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
build.go#L235: dst := make([]byte, base64.StdEncoding.EncodedLen(len(converted)))
github.com/jackc/pgconn
auth_scram.go#L148: sc.clientNonce = make([]byte, base64.RawStdEncoding.EncodedLen(len(buf)))
auth_scram.go#L255: buf := make([]byte, base64.StdEncoding.EncodedLen(len(clientProof)))
auth_scram.go#L263: buf := make([]byte, base64.StdEncoding.EncodedLen(len(serverSignature)))
github.com/lib/pq/scram
scram.go#L134: buf := make([]byte, nonceLen+b64.EncodedLen(nonceLen))
scram.go#L247: clientProof64 := make([]byte, b64.EncodedLen(len(clientProof)))
scram.go#L261: encoded := make([]byte, b64.EncodedLen(len(serverSignature)))
gopkg.in/yaml.v2
resolve.go#L203: encLen := base64.StdEncoding.EncodedLen(len(s))
mime
encodedword.go#L86: if !isUTF8(charset) || base64.StdEncoding.EncodedLen(len(s)) <= maxContentLen {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |