Questions tagged [zeroformatter]

ZeroFormatter is a C# Serializer and Deserializer for .NET, .NET Core and Unity.

4 questions
15
votes
1 answer

How to store a byte array to StackExchange.Redis?

I want to use the MessagePack, ZeroFormatter or protobuf-net to serialize/deserialize a generic list and store it in Redis using the stackexchange.redis client. Now I'm storing a JSON string with the StringSetAsync() method. But I can't find any…
tedi
  • 6,350
  • 5
  • 52
  • 67
2
votes
0 answers

Is it possible to ZeroFormat a List?

I want to serialize a list of a class type: private static List Trades = new List(); [ZeroFormattable] private class TradeData { [Index(0)] public virtual string Symbol { get; set; } [Index(1)] public virtual…
ManInMoon
  • 6,795
  • 15
  • 70
  • 133
1
vote
0 answers

Performance limits for NetMQ

I am sending messages from various places on my 10G network. I am using a Pub/Sub pattern. The messages I send are serialized using zeroFormatter and have length of approx 270 bytes. Once I start to send over 150K message per sec, I notice the…
ManInMoon
  • 6,795
  • 15
  • 70
  • 133
0
votes
2 answers

System.InvalidProgramException: Common Language Runtime detected an invalid program

All, I am using ZeroFormatter for serialization of a big object, sometimes it is giving following error while serializing the error, this issue is observed after using Union concept of ZeroFormatter for inheritence. Here are the exception…
Vijay
  • 17
  • 1
  • 5