Request for review - std.serialization (orange)
Jacob Carlborg
doob at me.com
Mon Apr 1 01:51:11 PDT 2013
On 2013-03-31 23:57, Kagamin wrote:
> Well, the basic idea of EXI and similar standards is that you can have 2
> types of serialization: built-in when you keep schema in the serialized
> message - which value belongs to which field (this way you can read and
> write any data structure) or schema-informed when the serializer knows
> what data it works with, so it omits schema from the message and e.g.
> writes two int fields as just consecutive 8 bytes - it knows that these
> 8 bytes are 2 ints and which field each belongs to; the drawback is that
> you can't read the message without schema, the advantage is smaller
> message size and faster serialization.
I see.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list