Exemplo n.º 1
0
		public static SoftFX.Extended.Financial.Serialization.PriceData ReadPriceData(this MemoryBuffer buffer)
		{
			var result = new SoftFX.Extended.Financial.Serialization.PriceData();
			result.Symbol = buffer.ReadAString();
			result.Bid = buffer.ReadDouble();
			result.Ask = buffer.ReadDouble();
			return result;
		}
Exemplo n.º 2
0
        public static SoftFX.Extended.Financial.Serialization.PriceData ReadPriceData(this MemoryBuffer buffer)
        {
            var result = new SoftFX.Extended.Financial.Serialization.PriceData();

            result.Symbol = buffer.ReadAString();
            result.Bid    = buffer.ReadDouble();
            result.Ask    = buffer.ReadDouble();
            return(result);
        }
Exemplo n.º 3
0
 public static void WritePriceData(this MemoryBuffer buffer, SoftFX.Extended.Financial.Serialization.PriceData arg)
 {
     buffer.WriteAString(arg.Symbol);
     buffer.WriteDouble(arg.Bid);
     buffer.WriteDouble(arg.Ask);
 }