attribute to set this
> append behaviour per field.
>
>
>
> Cheers,
>
> Richard
>
>
>
> *From:* Marc Gravell [mailto:marc.grav...@gmail.com]
> *Sent:* 31 January 2011 01:04
> *To:* NYCBrit
> *Cc:* Protocol Buffers
> *Subject:* Re: [protobuf] Why does protobuf-n
useful to have
an attribute to set this append behaviour per member.
Cheers,
Richard
From: Marc Gravell [mailto:marc.grav...@gmail.com]
Sent: 31 January 2011 01:04
To: NYCBrit
Cc: Protocol Buffers
Subject: Re: [protobuf] Why does protobuf-net append to a byte[]
Property/field on deserialize
Hmmm - good question. A bit of an edge case, really, deserializing over the
top of an existing byte[], or having duplicated byte[]. But thinking about
it, it probably should adhere to the "singular scalar fields" logic and
replace rather than accumulate.
I'll log that as a bug. Out of curiosity, i
I'm using protobuf-net v2 (trunk) to serialize my C# app. I'm confused
by the byte[] serializer (BlobSerializer) which always appends the
deserialized byte[] array to the initialized value, rather than
replacing it. Why does it do this?
Thanks,
Richard
--
You received this message because you ar