Is there any way to do this?

public static byte[] Serialize(Object obj)
    using (MemoryStream ms = new MemoryStream())
        Serializer.Serialize<Object>(ms, obj);
        return ms.ToArray();

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to