go/src/pkg/encoding
Rob Pike 5be24046c7 all: avoid bytes.NewBuffer(nil)
The practice encourages people to think this is the way to
create a bytes.Buffer when new(bytes.Buffer) or
just var buf bytes.Buffer work fine.
(html/token.go was missing the point altogether.)

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5637043
2012-02-06 14:09:00 +11:00
..
ascii85 build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
asn1 all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00
base32 encoding/base32: ignore new line characters during decode. 2012-02-03 13:36:38 +11:00
base64 encoding/base64: ignore new line characters during decode. 2012-02-01 19:13:38 +11:00
binary build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
csv build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
gob all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00
hex all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00
json encoding/json: call (*T).MarshalJSON for addressable T values. 2012-02-03 11:15:06 +11:00
pem all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00
xml all packages: fix various typos 2012-02-01 16:19:36 -08:00