Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1837)

Issue 245041: code review 245041: Add ReadRune and WriteRune to bytes.Buffer (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by r
Modified:
14 years, 1 month ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Add ReadRune and WriteRune to bytes.Buffer The comments mention bufio's WriteRune, which should come next.

Patch Set 1 #

Patch Set 2 : code review 245041: Add ReadRune and WriteRune to bytes.Buffer #

Total comments: 3

Patch Set 3 : code review 245041: Add ReadRune and WriteRune to bytes.Buffer #

Patch Set 4 : code review 245041: Add ReadRune and WriteRune to bytes.Buffer #

Patch Set 5 : code review 245041: Add ReadRune and WriteRune to bytes.Buffer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -6 lines) Patch
M src/pkg/bytes/buffer.go View 1 2 3 4 chunks +42 lines, -6 lines 0 comments Download
M src/pkg/bytes/buffer_test.go View 1 2 3 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 7
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 1 month ago (2010-03-05 04:06:28 UTC) #1
rsc
LGTM http://codereview.appspot.com/245041/diff/3001/4001 File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/245041/diff/3001/4001#newcode186 src/pkg/bytes/buffer.go:186: // code point r to the buffer, returning ...
14 years, 1 month ago (2010-03-05 04:17:30 UTC) #2
r2
On Mar 4, 2010, at 8:17 PM, rsc@golang.org wrote: > LGTM > > > > ...
14 years, 1 month ago (2010-03-05 07:03:07 UTC) #3
rsc
> i agonized over this. WriteByte always has a count of 1. WriteRune does not. ...
14 years, 1 month ago (2010-03-05 08:38:05 UTC) #4
r
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2010-03-05 18:47:09 UTC) #5
rsc
LGTM
14 years, 1 month ago (2010-03-05 19:02:15 UTC) #6
r
14 years, 1 month ago (2010-03-05 19:35:07 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=eac42b5e34d8 ***

Add ReadRune and WriteRune to bytes.Buffer

The comments mention bufio's WriteRune, which should come next.

R=rsc
CC=golang-dev
http://codereview.appspot.com/245041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b