On Feb 6, 8:10 pm, Joshua Haberman jhaber...@gmail.com wrote:
One reason for wanting this could be efficiency:
- you can skip over sub-messages you don't care about
- you only pay the cost of memory allocation for data you actually
care about storing.
- if you want to store the data in an
Not ringing any bells so far. Can you provide a stack trace for the crash?
On Sat, Feb 21, 2009 at 2:56 PM, tracey.wiedme...@gmail.com wrote:
When debugging through the CRT the error starts during the static
initializer functions
StaticDescriptorInitializer_...
Looks like some access
On Feb 6, 5:56 pm, Joshua Haberman jhaber...@gmail.com wrote:
Does proto2 support event-based decoding? That is, is there a parsing
mode that calls user-specified callbacks when it encounters values/
submessages/etc. rather than automatically putting all the data into
an in-memory data
On Feb 23, 9:51 am, Caleb caleb.epst...@gmail.com wrote:
On Feb 6, 5:56 pm, Joshua Haberman jhaber...@gmail.com wrote:
Does proto2 support event-based decoding? That is, is there a parsing
mode that calls user-specified callbacks when it encounters values/
submessages/etc. rather than
In my application, I have a need to track characteristics of message
fields on a field-by-field basis, e.g. has this field changed. This is
very much like what is already done in libprotobuf code for tracking
whether a field has been set yet. Looking under the hood, I found the
_has_bits_, a
Hi Kenton. I was wondering if you had any update on implementing
packed repeated fields using wire format 2. I'm evaluating GPB for use
in an embedded device, and love it for its ability to generalize data
storage/serialization/introspection. But having a tag for each
repeated element is kind of
On Mon, Feb 23, 2009 at 7:26 PM, Tim timbla...@gmail.com wrote:
Hi Kenton. I was wondering if you had any update on implementing
packed repeated fields using wire format 2. I'm evaluating GPB for use
in an embedded device, and love it for its ability to generalize data
You could query the message's Descriptor to find out the field number and
index of each field, and then use one of those (probably the index).
const Descriptor* descriptor = message.GetDescriptor()
int foo_index = descriptor-FindFieldByName(foo)-index();
On Mon, Feb 23, 2009 at 7:42 PM, Tim