encoding/base64.Encoding.DecodedLen (method)
7 uses
encoding/base64 (current package)
base64.go#L384: dbuf := make([]byte, enc.DecodedLen(len(s)))
base64.go#L607: func (enc *Encoding) DecodedLen(n int) int {
encoding/json
decode.go#L944: b := make([]byte, base64.StdEncoding.DecodedLen(len(s)))
encoding/pem
pem.go#L167: p.Bytes = make([]byte, base64.StdEncoding.DecodedLen(len(base64Data)))
github.com/lib/pq/scram
scram.go#L176: salt := make([]byte, b64.DecodedLen(len(fields[1][2:])))
golang.org/x/crypto/ssh
keys.go#L94: key := make([]byte, base64.StdEncoding.DecodedLen(len(base64Key)))
mime
encodedword.go#L79: var maxBase64Len = base64.StdEncoding.DecodedLen(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. |