Hi Ben Wright,thanks for your replay.
On Wed, Feb 23, 2011 at 2:12 AM, Ben Wright wrote:
> You will need to provide the type during construction of your
> instance. You will also want to provide the Descriptor for the type
> you want to deserialize in order to safely perform that step.
>
> i.e.
You will need to provide the type during construction of your
instance. You will also want to provide the Descriptor for the type
you want to deserialize in order to safely perform that step.
i.e.
public GPBFormat(Class clazz, Descriptor d) { //save the type
information to instance variables }