go/src/encoding/base64
Caleb Spare 87151c82b6 encoding/base64: correct DecodedLen overestimate for unpadded encodings
While we're at it, add tests for EncodedLen and DecodedLen.

Fixes #14803.

Change-Id: I200c72cf11c51669b8d9f70c6e57ece359f7ae61
Reviewed-on: https://go-review.googlesource.com/20649
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-15 20:43:04 +00:00
..
base64.go encoding/base64: correct DecodedLen overestimate for unpadded encodings 2016-03-15 20:43:04 +00:00
base64_test.go encoding/base64: correct DecodedLen overestimate for unpadded encodings 2016-03-15 20:43:04 +00:00
example_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00