-
Rob Pike authored
This can work only if there is no type info required to initialize the decoder, but it's easy and gains a few percent in the basic benchmarks by avoiding bufio when it's a bytes.Buffer - a testing-only scenario, I admit. Add a comment about what Decode expects from the input. R=rsc CC=golang-dev https://golang.org/cl/5165048
457dfd75
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
codec_test.go | ||
debug.go | ||
decode.go | ||
decoder.go | ||
doc.go | ||
dump.go | ||
encode.go | ||
encoder.go | ||
encoder_test.go | ||
error.go | ||
gobencdec_test.go | ||
timing_test.go | ||
type.go | ||
type_test.go |