mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
SerializationTraits<T>::Deserialize _transfers_ ownership of the buffer, so we must destroy it. This commit also includes some misc fixes: - Use grpc::Status::OK rather than default ctor for clarity. - Check for a null buffer passed into Deserialize, and handle it the same way as the protobuf deserializer.