flatbuffers
flatbuffers copied to clipboard
Improve Rust flatbuffers crate
This PR fixes several bugs and adds support for missing features to the flatbuffers and flatbuffers_reflection crates.
- fixes https://github.com/google/flatbuffers/issues/8550
- fixes https://github.com/google/flatbuffers/issues/8548
- adds reflection support for vectors of values of unknown type
- adds verification support for vectors of unions
- makes the unsafe
get_field_*functions infallible as their success is implied by the unsafe precondition - adds the unsafe function
Vector::cast()for casting between vector types - exposes
get_type_size() - adds
Struct::bytes()to get a slice to a byte buffer which starts with the struct value
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.