Home
last modified time | relevance | path

Searched refs:finished_data (Results 1 – 6 of 6) sorted by relevance

/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs40 builder.finished_data().to_vec() in traverse_canonical_buffer()
54 let n = builder.finished_data().len() as u64; in create_canonical_buffer_then_reset()
114 builder.finished_data().len() in create_serialized_example_with_generated_code()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs386 my_game::example::get_root_as_monster(builder.finished_data()) in build_mon()
466 let mon = my_game::example::get_root_as_monster(b.finished_data()); in union_store()
502 let mon = my_game::example::get_root_as_monster(b.finished_data()); in table_full_namespace_store()
532 let mon = my_game::example::get_root_as_monster(b.finished_data()); in table_store()
560 testnestedflatbuffer: Some(b1.create_vector(b0.finished_data())), in nested_flatbuffer_store()
569 let m = my_game::example::get_root_as_monster(b1.finished_data()); in nested_flatbuffer_store()
572 assert_eq!(m.testnestedflatbuffer().unwrap(), b0.finished_data()); in nested_flatbuffer_store()
828 let buf = b.finished_data(); in struct_vec3_is_written_with_correct_alignment_in_table()
864 let buf = b.finished_data(); in struct_ability_is_written_with_correct_alignment_in_table_vector()
960 let buf = b.finished_data(); in prop()
[all …]
/external/flatbuffers/samples/
Dsample_binary.rs98 let buf = builder.finished_data(); // Of type `&[u8]` in main()
/external/flatbuffers/tests/rust_usage_test/bin/
Dalloc_check.rs103 let buf = builder.finished_data(); in main()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs339 pub fn finished_data(&self) -> &[u8] { in finished_data() method
/external/flatbuffers/docs/source/
DTutorial.md2127 // `finished_data` returns a byte slice.
2128 let buf = builder.finished_data(); // Of type `&[u8]`