]> Cypherpunks repositories - gostls13.git/commit
encoding/base64: correct DecodedLen overestimate for unpadded encodings
authorCaleb Spare <cespare@gmail.com>
Mon, 14 Mar 2016 00:59:26 +0000 (17:59 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Mar 2016 20:43:04 +0000 (20:43 +0000)
commit87151c82b68023e4224b016a6a66ead2c4b8ece7
tree0a3a2e283eeafd6badfedcb61fc75d6240342728
parent95c6c5f36bb04e66d6a9523b3ad590faa6d563dd
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>
src/encoding/base64/base64.go
src/encoding/base64/base64_test.go