Request for review - std.serialization (orange)

Jacob Carlborg doob at me.com
Sun Mar 31 10:36:08 PDT 2013


On 2013-03-31 13:23, Kagamin wrote:

> 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.

The actual struct is never passed to the archive in Orange. It's 
basically lets the archive know, "the next primitives belong to a struct".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list