mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -07:00
encoding/base64: fix typo in comment
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/258041
This commit is contained in:
parent
f015c53ada
commit
0ed8231e69
@ -324,6 +324,6 @@ func NewDecoder(enc *Encoding, r io.Reader) io.Reader {
|
||||
return &decoder{enc: enc, r: r}
|
||||
}
|
||||
|
||||
// DecodeLen returns the maximum length in bytes of the decoded data
|
||||
// DecodedLen returns the maximum length in bytes of the decoded data
|
||||
// corresponding to n bytes of base64-encoded data.
|
||||
func (enc *Encoding) DecodedLen(n int) int { return n / 4 * 3 }
|
||||
|
Loading…
Reference in New Issue
Block a user