1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:11:22 -06:00
go/src/pkg/encoding/asn1
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
..
asn1_test.go encoding/asn1: document support for *big.Int 2012-01-08 10:02:23 -05:00
asn1.go encoding/asn1: document support for *big.Int 2012-01-08 10:02:23 -05:00
common.go use new strconv API 2011-12-05 15:48:46 -05:00
marshal_test.go encoding/asn1: document support for *big.Int 2012-01-08 10:02:23 -05:00
marshal.go all: avoid bytes.NewBuffer(nil) 2012-02-06 14:09:00 +11:00