go /
text /
65f4f820a7954b82e5c9325e1e088a4fda098f36 encoding/charmap: add DecodeByte, EncodeRune methods.
Also change exported values' types from encoding.Encoding (an interface)
to *Charmap (a newly exported struct type), since we can't add methods
to that interface type.
Also fix a few "go vet" issues.
Fixes golang/go#19584
Change-Id: I32f726a791f39c158a782ed013b1d358f0b77e57
Reviewed-on: https://go-review.googlesource.com/38873
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
4 files changed