]> Cypherpunks repositories - gostls13.git/commit
make the low-level encoder and decoder private and have them access byte.Buffers...
authorRob Pike <r@golang.org>
Wed, 15 Jul 2009 23:10:17 +0000 (16:10 -0700)
committerRob Pike <r@golang.org>
Wed, 15 Jul 2009 23:10:17 +0000 (16:10 -0700)
commite76a335adacb2f9dd3a930a53eb9ab4a7c766209
tree0d49f93c88e3613b44ac6565803be7922262579b
parentdc8c447689557f9384b3b7724d5de4af40c0451d
make the low-level encoder and decoder private and have them access byte.Buffers rather
than io.Readers and io.Writers.
change the Encoder/Decoder protocol so that each message is preceded by its length in bytes.

R=rsc
DELTA=468  (119 added, 23 deleted, 326 changed)
OCL=31700
CL=31702
src/pkg/Make.deps
src/pkg/gob/codec_test.go
src/pkg/gob/decode.go
src/pkg/gob/decoder.go
src/pkg/gob/encode.go
src/pkg/gob/encoder.go
src/pkg/gob/encoder_test.go
src/pkg/gob/type.go