Is there any way to do this?
public static byte[] Serialize(Object obj)
{
using (MemoryStream ms = new MemoryStream())
{
Serializer.SerializeObject(ms, obj);
return ms.ToArray();
}
}
--
You received this message because you are subscribed to the Google Groups
Awesome!
On Mar 19, 3:45 pm, Marc Gravell marc.grav...@gmail.com wrote:
With protobuf-net? Sure; use Serializer.NonGeneric.Serialize(ms, obj);
Marc
On 19 March 2010 22:06, Rich76 vspin...@aol.com wrote:
Is there any way to do this?
public static byte[] Serialize(Object obj