Commit 7366efd8 authored by TeBoring's avatar TeBoring
Browse files

Add packFrom, unpackTo and is in google.protobuf.Any.

The previous two methods make it easy to transform between any and normal message.
unPackeTo will throw error if the type url in any doesn't match the type of the message to be transformed to.
is checks any's type url matches the give GPBMessage type.
parent fde6e89f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment