]> Cypherpunks repositories - gostls13.git/commit
make bytes.Copy both src- and dst- limited
authorRuss Cox <rsc@golang.org>
Wed, 24 Jun 2009 22:35:35 +0000 (15:35 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 24 Jun 2009 22:35:35 +0000 (15:35 -0700)
commita1646fd50ef92be09d3e7794683dc326169bb39d
treee2d71892ab2cb3612167f91d17e4022b5b1a8bcd
parent354e61cc52cc67400cdc93815f08efa42050d020
make bytes.Copy both src- and dst- limited
and return the number of bytes copied.

R=r
DELTA=18  (6 added, 0 deleted, 12 changed)
OCL=30693
CL=30712
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go