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

Side by Side Diff: mojo/ipc/message/README

Issue 23629032: mojo: MessageBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for a string field type. Created 7 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 MESSAGE FORMAT
2 ==============
3
4 A Mojo IPC message resembles a property bag, with ordinals as property names.
5
6 Message:
7 [ MessageName | MessageSize | Field_1 | Field_2 | ... | Field_N ]
8
9 MessageName:
10 [ U32 ]
11
12 MessageSize:
13 [ U32 ]
14
15 Field:
16 [ FieldHeader | FieldValue ]
17
18 FieldHeader:
19 [ FieldName | FieldType ]
20
21 FieldName:
22 [ U16 ]
23
24 FieldType:
25 [ U16 ]
vtl 2013/09/12 01:16:10 Another thought occurred to me: Maybe we should st
26
27 FieldValue:
28 [ U32 ]
vtl 2013/09/11 17:37:16 I guess by "U32" here, you mean any 32 bits of dat
29 [ U64 ]
vtl 2013/09/11 17:37:16 Is there any desire to have 64-bit quantities be a
30 [ FieldSize | FieldBytes ]
vtl 2013/09/11 17:37:16 Similarly, do we want to insist that FieldBytes be
31
vtl 2013/09/11 17:37:16 It occurs to me that we want to assign ordinals to
32 FieldSize:
33 [ U32 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698