1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:00:04 -07:00

encoding/base64: fix typo in decodeQuantum docs

Change-Id: I643540bcea574d8a70b79237d97097dcc7368766
GitHub-Last-Rev: e2be58d1ab
GitHub-Pull-Request: golang/go#28125
Reviewed-on: https://go-review.googlesource.com/c/141119
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Mihai Todor 2018-10-12 14:35:16 +00:00 committed by Brad Fitzpatrick
parent 93cf82f08a
commit 1f95e0a9d9

View File

@ -270,7 +270,7 @@ func (e CorruptInputError) Error() string {
return "illegal base64 data at input byte " + strconv.FormatInt(int64(e), 10)
}
// decodeQuantum decodes up to 4 base64 bytes. It takes for parameters
// decodeQuantum decodes up to 4 base64 bytes. The received parameters are
// the destination buffer dst, the source buffer src and an index in the
// source buffer si.
// It returns the number of bytes read from src, the number of bytes written