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

Issue 2249045: code review 2249045: asn1: make interface consistent with json (Closed)

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

Description

asn1: make interface consistent with json Replace Marshal with MarshalToMemory (no one was using old Marshal anyway). Swap arguments to Unmarshal. Fixes issue 1133.

Patch Set 1 #

Patch Set 2 : code review 2249045: asn1: make interface consistent with json #

Patch Set 3 : code review 2249045: asn1: make interface consistent with json #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -42 lines) Patch
M src/pkg/asn1/asn1.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/asn1/asn1_test.go View 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/asn1/marshal.go View 1 chunk +4 lines, -14 lines 0 comments Download
M src/pkg/asn1/marshal_test.go View 1 chunk +3 lines, -4 lines 0 comments Download
M src/pkg/crypto/x509/x509.go View 1 19 chunks +19 lines, -19 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello agl@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-09-24 16:28:55 UTC) #1
agl1
LGTM
14 years, 7 months ago (2010-09-24 16:30:36 UTC) #2
rsc
14 years, 7 months ago (2010-09-24 16:34:20 UTC) #3
*** Submitted as 38e013ca9bfc ***

asn1: make interface consistent with json

Replace Marshal with MarshalToMemory
(no one was using old Marshal anyway).

Swap arguments to Unmarshal.

Fixes issue 1133.

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

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