Example #1
0
 public byte[] Serialize(WireMessage[] messages)
 {
     using (var stream = new ChunkedStream())
     {
         SerializeInternal(messages, stream);
         return(stream.ToArray());
     }
 }