Commit 0ed8231e authored by Giles Lean's avatar Giles Lean Committed by Russ Cox

encoding/base64: fix typo in comment

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/258041
parent f015c53a
...@@ -324,6 +324,6 @@ func NewDecoder(enc *Encoding, r io.Reader) io.Reader { ...@@ -324,6 +324,6 @@ func NewDecoder(enc *Encoding, r io.Reader) io.Reader {
return &decoder{enc: enc, r: r} 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. // corresponding to n bytes of base64-encoded data.
func (enc *Encoding) DecodedLen(n int) int { return n / 4 * 3 } func (enc *Encoding) DecodedLen(n int) int { return n / 4 * 3 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment