| # Empty arrays and strings |
| |
| VALID_HEADER method_call |
| REQUIRED_FIELDS |
| ALIGN 8 |
| END_LENGTH Header |
| START_LENGTH Body |
| TYPE STRING |
| INT32 0 |
| BYTE 0 # Strings need to be NULL-terminated |
| TYPE ARRAY |
| TYPE BOOLEAN |
| INT32 0 |
| TYPE ARRAY |
| TYPE INT32 |
| INT32 0 |
| TYPE ARRAY |
| TYPE UINT32 |
| INT32 0 |
| TYPE ARRAY |
| TYPE DOUBLE |
| INT32 0 |
| TYPE ARRAY |
| TYPE BYTE |
| INT32 0 |
| TYPE ARRAY |
| TYPE STRING |
| INT32 0 |
| TYPE DICT |
| INT32 0 |
| |
| # A dict with empty arrays |
| TYPE DICT |
| LENGTH Dict |
| START_LENGTH Dict |
| STRING 'boolean_array' |
| TYPE ARRAY |
| TYPE BOOLEAN |
| INT32 0 |
| STRING 'int32_array' |
| TYPE ARRAY |
| TYPE INT32 |
| INT32 0 |
| STRING 'uint32_array' |
| TYPE ARRAY |
| TYPE UINT32 |
| INT32 0 |
| STRING 'double_array' |
| TYPE ARRAY |
| TYPE DOUBLE |
| INT32 0 |
| STRING 'byte_array' |
| TYPE ARRAY |
| TYPE BYTE |
| INT32 0 |
| STRING 'string_array' } |
| TYPE ARRAY |
| TYPE STRING |
| INT32 0 |
| END_LENGTH Dict |
| |
| END_LENGTH Body |
| |