What .NET serializers have fixed size output for a given class?
Posted
by Jader Dias
on Stack Overflow
See other posts from Stack Overflow
or by Jader Dias
Published on 2010-06-07T16:57:40Z
Indexed on
2010/06/07
17:02 UTC
Read the original article
Hit count: 241
XML based serializers have variable size output for a given class. I can't use them to append data to my Memcached list, since I won't be able to retrieve that information later.
But if I knew my serializer produced a fixed size output (N bytes), I could retrieve my data by splitting my list in N bytes chunks and then deserializing those chunks individually.
I have created my own serializer for my class, but what other serializers I could use?
© Stack Overflow or respective owner