encoding/base64.Encoding.DecodedLen (method)
8 uses
encoding/base64 (current package)
base64.go#L400: dbuf := make([]byte, enc.DecodedLen(len(s)))
base64.go#L623: func (enc *Encoding) DecodedLen(n int) int {
encoding/json
decode.go#L936: b := make([]byte, base64.StdEncoding.DecodedLen(len(s)))
encoding/pem
pem.go#L171: p.Bytes = make([]byte, base64.StdEncoding.DecodedLen(len(base64Data)))
github.com/gotd/td/tdjson
decoder.go#L192: result := make([]byte, enc.DecodedLen(len(v)))
github.com/segmentio/asm/base64
base64_asm.go#L85: dst := make([]byte, enc.base.DecodedLen(len(s)))
base64_asm.go#L93: return enc.base.DecodedLen(n)
mime
encodedword.go#L79: var maxBase64Len = base64.StdEncoding.DecodedLen(maxContentLen)
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. |