1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:34:40 -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:
Giles Lean 2010-03-08 18:12:25 -08:00 committed by Russ Cox
parent f015c53ada
commit 0ed8231e69

View File

@ -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 }