On Sunday, 31 March 2013 at 11:23:27 UTC, Kagamin wrote:
On Saturday, 30 March 2013 at 20:02:48 UTC, Jesse Phillips
wrote:
3) Serialization is done by message (struct) and not by
primitives
PB does serialize by primitives and Archive has archiveStruct
method which is called to serialize struct, I believe. At first
sight orange serializes using built-in grammar (in EXI terms),
and since PB uses schema-informed grammar, you have to provide
schema to the archiver: either keep it in the archiver or store
globally.
Thank you, you've described it much better. When I saide "by
message" I was referring to what you have more accurately stated
as requiring a schema.
I'm not well versed in PB or Orange so I'd need to play around
more with both, but I'm pretty sure Orange would need changes
made to be able to make the claim PB is supported. It should be
possible to create a binary format based on PB.