go/src/pkg/bytes
Rob Pike 0a75a79cc0 bytes: API tweaks
- fix documentation for NewBuffer and NewBufferString
- document and implement behavior of Truncate on invalid lengths

Fixes #2837.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/5637044
2012-02-06 15:29:21 +11:00
..
asm_386.s bytes: faster Count, Index, Equal 2011-12-07 15:09:56 -05:00
asm_amd64.s bytes: lost edit from earlier CL 2011-12-07 15:30:01 -05:00
asm_arm.s bytes: faster Count, Index, Equal 2011-12-07 15:09:56 -05:00
buffer.go bytes: API tweaks 2012-02-06 15:29:21 +11:00
buffer_test.go bytes: delete the test for huge buffers 2012-01-22 09:25:47 -08:00
bytes.go update tree for new default type rule 2011-12-08 22:08:03 -05:00
bytes_decl.go big, bytes: move assembly externs to separate file 2010-06-21 19:53:08 -07:00
bytes_test.go panics: use the new facilities of testing.B instead 2011-12-20 10:36:25 -08:00
example_test.go pkg/bytes: add the usual copyright notice to example_test.go 2012-01-18 09:40:50 -08:00
export_test.go bytes: faster Count, Index, Equal 2011-12-07 15:09:56 -05:00