Home | History | Annotate | Download | only in valid-messages
      1 # Dict with different values
      2 
      3 VALID_HEADER method_call
      4 REQUIRED_FIELDS
      5 ALIGN 8
      6 END_LENGTH Header
      7 START_LENGTH Body
      8 TYPE DICT
      9 LENGTH Dict
     10 START_LENGTH Dict
     11 STRING 'boolean'
     12 TYPE BOOLEAN
     13 BYTE 1
     14 STRING 'int32'
     15 TYPE INT32
     16 INT32 0x12345678
     17 STRING 'uint32'
     18 TYPE UINT32
     19 UINT32 0x8765432
     20 STRING 'double'
     21 TYPE DOUBLE
     22 DOUBLE 3.141592653589
     23 STRING 'string'
     24 TYPE STRING
     25 STRING 'This is a string'
     26 STRING 'boolean_array'
     27 TYPE ARRAY
     28 TYPE BOOLEAN
     29 BOOLEAN_ARRAY { true, false, false, true, false }
     30 STRING 'int32_array'
     31 TYPE ARRAY
     32 TYPE INT32
     33 INT32_ARRAY { 1, -2, 3, -4, 5, -6, 7, -8, 9, -10 }
     34 STRING 'uint32_array'
     35 TYPE ARRAY
     36 TYPE UINT32
     37 UINT32_ARRAY { 11, 12, 314, 1911, 57692, 1237, 2834 }
     38 STRING 'double_array'
     39 TYPE ARRAY
     40 TYPE DOUBLE
     41 DOUBLE_ARRAY { 0.1, 0.2, 3.1415926, 2.7183, 10.0, 9.99 }
     42 STRING 'string_array'
     43 TYPE ARRAY
     44 TYPE STRING
     45 STRING_ARRAY { 'Hello', 'This', 'Is', 'A', 'String', 'Array!' }
     46 END_LENGTH Dict
     47 END_LENGTH Body
     48