Esempio n. 1
0
        public static MessagePartConfirmation Desserialize(byte[] data, int len)
        {
            MessagePartConfirmation t = new MessagePartConfirmation();

            t.Deserialize(data, len);
            return(t);
        }
Esempio n. 2
0
        public T Deserialize <T>(ReusableStream reader) where T : IMessage
        {
            MessagePartConfirmation t = new MessagePartConfirmation();

            t.Deserialize(reader.Data, (int)reader.Length);
            return((T)(t as IMessage));
        }