io.StringBytes -> strings.Bytes

io.ByteBuffer -> bytes.Buffer

left io.ByteBuffer stub around for now,
for protocol compiler.

R=r
OCL=30861
CL=30872
This commit is contained in:
Russ Cox 2009-06-29 15:24:23 -07:00
parent b948c437a1
commit d3a412a5ab
48 changed files with 218 additions and 190 deletions

View file

@ -52,7 +52,7 @@ func connect(t *testing.T, network, addr string) {
t.Fatalf("net.Dial(%q, %q, %q) = _, %v", network, "", addr, err);
}
b := io.StringBytes("hello, world\n");
b := strings.Bytes("hello, world\n");
var b1 [100]byte;
n, errno := fd.Write(b);