summaryrefslogtreecommitdiff
path: root/src/lib/io/bytebuffer.go
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06new new & makeRuss Cox1-3/+3
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-1/+1
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-16/+8
R=r OCL=21563 CL=21571
2008-12-16If ByteBuffer has never been used, b.buf is nil but Data() should still work.Rob Pike1-0/+8
Fix the bug using a (safe) shared global empty array. R=rsc DELTA=8 (8 added, 0 deleted, 0 changed) OCL=21303 CL=21303
2008-11-25make a (rudimentary) ByteBuffer and put it in package "io".Rob Pike1-0/+90
fix up protocol buffers to use it. R=rsc DELTA=1232 (612 added, 572 deleted, 48 changed) OCL=19964 CL=19981