Closed GoogleCodeExporter closed 9 years ago
A first draft for this issue is checked in, r85. The class is currently named
CompatibleFieldSerializer. It supports adding and/or removing fields, which
does not
invalidate previously serialized bytes. Note that it does not support changing
the
type of a field.
The overhead compared to FieldSerializer is the header that is output the first
time
an object of the type is serialized. The header consists of an int for the
number of
fields, then a String for each field name. Also, in order to support skipping
the
bytes for a field that no longer exists, for each field value I had to write an
int
that is the length of the value in bytes.
Original comment by nathan.s...@gmail.com
on 26 Mar 2010 at 4:12
We've got tests and everything. Calling it good for now.
Original comment by nathan.s...@gmail.com
on 12 Apr 2010 at 9:45
Hi, any examples how to use this ?
Original comment by dimec...@gmail.com
on 27 Oct 2011 at 5:22
Original issue reported on code.google.com by
nathan.s...@gmail.com
on 25 Mar 2010 at 1:11