Home | History | Annotate | Download | only in valid-messages
      1 # Empty arrays and strings
      2 
      3 VALID_HEADER method_call
      4 REQUIRED_FIELDS
      5 ALIGN 8
      6 END_LENGTH Header
      7 START_LENGTH Body
      8 TYPE STRING
      9 INT32 0
     10 BYTE 0 # Strings need to be NULL-terminated
     11 TYPE ARRAY
     12 TYPE BOOLEAN
     13 INT32 0
     14 TYPE ARRAY
     15 TYPE INT32
     16 INT32 0
     17 TYPE ARRAY
     18 TYPE UINT32
     19 INT32 0
     20 TYPE ARRAY
     21 TYPE DOUBLE
     22 INT32 0
     23 TYPE ARRAY
     24 TYPE BYTE
     25 INT32 0
     26 TYPE ARRAY
     27 TYPE STRING
     28 INT32 0
     29 TYPE DICT
     30 INT32 0
     31 
     32 # A dict with empty arrays
     33 TYPE DICT
     34 LENGTH Dict
     35 START_LENGTH Dict
     36 STRING 'boolean_array'
     37 TYPE ARRAY
     38 TYPE BOOLEAN
     39 INT32 0
     40 STRING 'int32_array'
     41 TYPE ARRAY
     42 TYPE INT32
     43 INT32 0
     44 STRING 'uint32_array'
     45 TYPE ARRAY
     46 TYPE UINT32
     47 INT32 0
     48 STRING 'double_array'
     49 TYPE ARRAY
     50 TYPE DOUBLE
     51 INT32 0
     52 STRING 'byte_array'
     53 TYPE ARRAY 
     54 TYPE BYTE
     55 INT32 0
     56 STRING 'string_array' }
     57 TYPE ARRAY
     58 TYPE STRING
     59 INT32 0
     60 END_LENGTH Dict
     61 
     62 END_LENGTH Body
     63 
     64