blob: e3ba4fe553b4d68eadb4eb4912a7532b0d7d02da [file] [log] [blame]
{
"version": "0.0.1",
"name": "example",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [],
"service_declarations": [],
"struct_declarations": [
{
"name": "example/ByteAndBytes",
"location": {
"filename": "byte_and_bytes.test.fidl",
"line": 3,
"column": 8
},
"anonymous": false,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "uint8"
},
"name": "single_byte",
"location": {
"filename": "byte_and_bytes.test.fidl",
"line": 4,
"column": 10
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
},
{
"type": {
"kind": "vector",
"element_type": {
"kind": "primitive",
"subtype": "uint8"
},
"nullable": false
},
"name": "many_bytes",
"location": {
"filename": "byte_and_bytes.test.fidl",
"line": 5,
"column": 11
},
"field_shape_v1": {
"offset": 8,
"padding": 0
}
},
{
"type": {
"kind": "vector",
"element_type": {
"kind": "primitive",
"subtype": "uint8"
},
"maybe_element_count": 1024,
"nullable": false
},
"name": "only_one_k_bytes",
"location": {
"filename": "byte_and_bytes.test.fidl",
"line": 6,
"column": 16
},
"field_shape_v1": {
"offset": 24,
"padding": 0
}
},
{
"type": {
"kind": "vector",
"element_type": {
"kind": "primitive",
"subtype": "uint8"
},
"maybe_element_count": 1024,
"nullable": true
},
"name": "opt_only_one_k_bytes",
"location": {
"filename": "byte_and_bytes.test.fidl",
"line": 7,
"column": 17
},
"field_shape_v1": {
"offset": 40,
"padding": 0
}
}
],
"type_shape_v1": {
"inline_size": 56,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"example/ByteAndBytes"
],
"declarations": {
"example/ByteAndBytes": "struct"
}
}