[protobuf] Re: best way to create message from prototype + data

2011-01-19 Thread koert
thanks On Jan 18, 11:39 pm, Kenton Varda wrote: > Yep, that's the best thing to do right now. > > We're thinking of introducing a separate "Parser" interface, which would > allow you to do: > >   message = prototype.getParserForType().parse(data); > > On Tue, Jan 18, 2011 at 7:34 AM, koert wrote

[protobuf] Re: best way to create message from prototype + data

2011-01-19 Thread koert
thanks On Jan 18, 11:39 pm, Kenton Varda wrote: > Yep, that's the best thing to do right now. > > We're thinking of introducing a separate "Parser" interface, which would > allow you to do: > >   message = prototype.getParserForType().parse(data); > > On Tue, Jan 18, 2011 at 7:34 AM, koert wrote