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

Side by Side Diff: mojo/public/libs/message/README

Issue 23629032: mojo: MessageBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error. 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
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/public/libs/message/message.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [ MessageSize | MessageName | Field_1 | Field_2 | ... | Field_N ]
8
9 MessageSize:
10 [ U32 ]
11
12 MessageName:
13 [ U32 ]
14
15 Field:
16 [ FieldHeader | FieldValue ]
17
18 FieldHeader:
19 [ FieldName | FieldType ]
20
21 FieldName:
22 [ U16 ]
23
24 FieldType:
25 [ U14 | FieldClass ]
26
27 FieldClass:
28 [ U2 ]
29
30 01 - FieldValue is a 32-bit value (U32)
31 10 - FieldValue is a 64-bit value (U64)
32 11 - FieldValue is a variable-length array
33
34 FieldValue:
35 [ U32 ]
36 [ U64 ]
37 [ FieldSize | FieldBytes ]
38
39 FieldSize:
40 [ U32 ]
OLDNEW
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/public/libs/message/message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698