Esempio n. 1
0
        public static Price Decode(IByteReader stream)
        {
            Price decodedPrice = new Price();

            decodedPrice.N = Int32.Decode(stream);
            decodedPrice.D = Int32.Decode(stream);
            return(decodedPrice);
        }
Esempio n. 2
0
        public static Price Decode(XdrDataInputStream stream)
        {
            Price decodedPrice = new Price();

            decodedPrice.N = Int32.Decode(stream);
            decodedPrice.D = Int32.Decode(stream);
            return(decodedPrice);
        }