Rob Pike
|
b74e3b95cf
|
add a couple of helper methods to io.ByteBuffer
R=rsc
DELTA=456 (9 added, 2 deleted, 445 changed)
OCL=23107
CL=23107
|
2009-01-20 12:57:25 -08:00 |
|
Russ Cox
|
5564504507
|
new new & make
R=r
OCL=22166
CL=22166
|
2009-01-06 15:19:02 -08:00 |
|
Russ Cox
|
08ca30bbfa
|
change *map to map; *chan to chan; new(T) to new(*T)
fix bugs left over from *[] to [] conversion.
TBR=r
OCL=21576
CL=21581
|
2008-12-19 03:05:37 -08:00 |
|
Russ Cox
|
d47d888ba6
|
convert *[] to [].
R=r
OCL=21563
CL=21571
|
2008-12-18 22:37:22 -08:00 |
|
Rob Pike
|
a10267adcd
|
If ByteBuffer has never been used, b.buf is nil but Data() should still work.
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-12-16 13:01:39 -08:00 |
|
Rob Pike
|
5f9254c11a
|
make a (rudimentary) ByteBuffer and put it in package "io".
fix up protocol buffers to use it.
R=rsc
DELTA=1232 (612 added, 572 deleted, 48 changed)
OCL=19964
CL=19981
|
2008-11-25 09:41:58 -08:00 |
|