コード例 #1
0
		public static byte[] SerializeToBytes (ReplyStoreMessage instance)
		{
			using (MemoryStream ms = new MemoryStream()) {
				Serialize (ms, instance);
				return ms.ToArray ();
			}
		}
コード例 #2
0
		public static ReplyStoreMessage Deserialize (Stream stream)
		{
			ReplyStoreMessage instance = new ReplyStoreMessage ();
			Deserialize (stream, instance);
			return instance;
		}
コード例 #3
0
		public static void Serialize (Stream stream, ReplyStoreMessage instance)
		{
		}