public byte[] SerializeTo(object obj) { return(ProtobufHelper.ToBytes(obj)); }
public object Clone() { byte[] bytes = ProtobufHelper.ToBytes(this); return(ProtobufHelper.FromBytes(this.GetType(), bytes, 0, bytes.Length)); }
public byte[] SerializeTo(object obj) { return(ProtobufHelper.ToBytes(obj)); }
public object Clone() { byte[] bytes = ProtobufHelper.ToBytes(this); return(ProtobufHelper.FromBytes(this.GetType(), bytes, 0, bytes.Length)); }