]> Cypherpunks repositories - gostls13.git/commit
Implement a "full reader" wrapper for io.Read, guaranteeing that
authorRob Pike <r@golang.org>
Wed, 12 Nov 2008 01:28:36 +0000 (17:28 -0800)
committerRob Pike <r@golang.org>
Wed, 12 Nov 2008 01:28:36 +0000 (17:28 -0800)
commit6ee7fe58087ec5a15bf9ae7717d3fc13bdd407e7
treeda7e2f69ce406cbf95781c7a1f356950339fca7b
parentb682f924d79954ddf4a89b29627aac7a22ed4238
Implement a "full reader" wrapper for io.Read, guaranteeing that
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
src/lib/io.go