Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/protobuf/js/README.md

Issue 2598373002: third_party/protobuf: Update to HEAD (5f65ee6ac7) (Closed)
Patch Set: Update to new HEAD (5f65ee6ac7) Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/jenkins/pull_request_in_docker.sh ('k') | third_party/protobuf/js/binary/constants.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/js/README.md
diff --git a/third_party/protobuf/js/README.md b/third_party/protobuf/js/README.md
index 15d48c87f706bc7258f5e48f667b162704b44c62..f4184621c272937a77f1d4520a3eb0ccd54ad99e 100644
--- a/third_party/protobuf/js/README.md
+++ b/third_party/protobuf/js/README.md
@@ -152,8 +152,7 @@ idea of how the library generally works:
// Serializes to a UInt8Array.
bytes = message.serializeBinary();
- var message2 = new MyMessage();
- message2.deserializeBinary(bytes);
+ var message2 = MyMessage.deserializeBinary(bytes);
For more examples, see the tests. You can also look at the generated code
to see what methods are defined for your generated messages.
« no previous file with comments | « third_party/protobuf/jenkins/pull_request_in_docker.sh ('k') | third_party/protobuf/js/binary/constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698