encoding/base64.Encoding.EncodedLen (method)

7 uses

	encoding/base64 (current package)
		base64.go#L196: 	buf := make([]byte, enc.EncodedLen(len(src)))
		base64.go#L262: 		_, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
		base64.go#L279: func (enc *Encoding) EncodedLen(n int) int {

	encoding/json
		encode.go#L785: 	encodedLen := base64.StdEncoding.EncodedLen(len(s))

	github.com/segmentio/asm/base64
		base64_asm.go#L55: 	buf := make([]byte, enc.base.EncodedLen(len(src)))
		base64_asm.go#L63: 	return enc.base.EncodedLen(n)

	mime
		encodedword.go#L86: 	if !isUTF8(charset) || base64.StdEncoding.EncodedLen(len(s)) <= maxContentLen {