Skip to content

Commit 0ed8231

Browse files
cc-skelosrsc
authored andcommitted
encoding/base64: fix typo in comment
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/258041
1 parent f015c53 commit 0ed8231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/encoding/base64/base64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,6 @@ func NewDecoder(enc *Encoding, r io.Reader) io.Reader {
324324
return &decoder{enc: enc, r: r}
325325
}
326326

327-
// DecodeLen returns the maximum length in bytes of the decoded data
327+
// DecodedLen returns the maximum length in bytes of the decoded data
328328
// corresponding to n bytes of base64-encoded data.
329329
func (enc *Encoding) DecodedLen(n int) int { return n / 4 * 3 }

0 commit comments

Comments
 (0)