summaryrefslogtreecommitdiff
path: root/src/lib/io.go
AgeCommit message (Collapse)AuthorFilesLines
2008-11-25make a (rudimentary) ByteBuffer and put it in package "io".Rob Pike1-146/+0
fix up protocol buffers to use it. R=rsc DELTA=1232 (612 added, 572 deleted, 48 changed) OCL=19964 CL=19981
2008-11-19saving 2 lines :-)Robert Griesemer1-5/+3
R=rsc DELTA=5 (0 added, 2 deleted, 3 changed) OCL=19562 CL=19585
2008-11-18make Copyn take and return int64.Russ Cox1-15/+51
add Copy. R=gri DELTA=52 (37 added, 1 deleted, 14 changed) OCL=19557 CL=19559
2008-11-18CopynRobert Griesemer1-0/+34
R=rsc DELTA=34 (34 added, 0 deleted, 0 changed) OCL=19541 CL=19545
2008-11-12fix bug in FullyReaderRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=19131 CL=19131
2008-11-11Implement a "full reader" wrapper for io.Read, guaranteeing thatRob Pike1-2/+44
either the buffer is full, zero bytes were read, or an error is returned. R=rsc DELTA=44 (42 added, 0 deleted, 2 changed) OCL=19027 CL=19047
2008-10-20add io.ReadWriteClose and use it in httpRuss Cox1-0/+6
R=r DELTA=15 (6 added, 7 deleted, 2 changed) OCL=17447 CL=17461
2008-10-07update code to follow new semicolon rules:Russ Cox1-2/+2
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-17add network listening & testsRuss Cox1-13/+7
R=r,presotto OCL=15410 CL=15440
2008-09-12buffered input & outputRuss Cox1-0/+36
R=r DELTA=812 (803 added, 0 deleted, 9 changed) OCL=15225 CL=15280