Ejemplo n.º 1
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 9 + WriteStream.GetStringSize(ExchangeNo, encoding) + WriteStream.GetStringSize(ExchangeName, encoding) + 0;

            return(size);
        }
Ejemplo n.º 2
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 41 + WriteStream.GetStringSize(ExchangeNo, encoding) + WriteStream.GetStringSize(CommodityNo, encoding) + WriteStream.GetStringSize(InstrumentID, encoding) + WriteStream.GetStringSize(ContractExpDate, encoding) + WriteStream.GetStringSize(LastTradeDate, encoding) + WriteStream.GetStringSize(FirstNoticeDate, encoding) + WriteStream.GetStringSize(ContractName, encoding) + 0;

            return(size);
        }
Ejemplo n.º 3
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 542 + WriteStream.GetStringSize(CurrencyNo, encoding) + WriteStream.GetStringSize(CommodityNo, encoding) + WriteStream.GetStringSize(ExchangeID, encoding) + WriteStream.GetStringSize(InstrumentID, encoding) + WriteStream.GetStringSize(Source, encoding) + WriteStream.GetStringSize(TradingTime, encoding) + 0;

            return(size);
        }
Ejemplo n.º 4
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 62 + WriteStream.GetStringSize(CommodityNo, encoding) + WriteStream.GetStringSize(ExchangeID, encoding) + WriteStream.GetStringSize(InstrumentID, encoding) + WriteStream.GetStringSize(Oper, encoding) + WriteStream.GetStringSize(InTime, encoding) + 0;

            return(size);
        }
Ejemplo n.º 5
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 70 + WriteStream.GetStringSize(ExchangeNo, encoding) + WriteStream.GetStringSize(ExchangeName, encoding) + WriteStream.GetStringSize(CommodityNo, encoding) + WriteStream.GetStringSize(CommodityName, encoding) + WriteStream.GetStringSize(CommodityEngName, encoding) + WriteStream.GetStringSize(TradeCurrency, encoding) + WriteStream.GetStringSize(AddOneTime, encoding) + 0;

            return(size);
        }
Ejemplo n.º 6
0
        public uint BytesSize(Encoding encoding)
        {
            var size = 11 + WriteStream.GetStringSize(AccountNo, encoding) + WriteStream.GetStringSize(Password, encoding) + WriteStream.GetStringSize(Address, encoding) + WriteStream.GetStringSize(CoreName, encoding) + 0;

            return(size);
        }