|
FAST Protocol
< Previous Next >
Re: What is different between "\0" and Empty String?
Hanno Klein / Deutsche Börse Systems <> 18 Mar 2009 10:08AM ET If you need NULL values for strings, you need to program that logic into your programming level, e.g. by keeping a bit map for all application variables coming from FAST and set bits to zero where you have received a NULL value via FAST and set bits to 1 to indicate that your application variable contains an actual value which is then possibly the empty string.
>
> In FAST (Version 1.1) Encoding, [0x00 0x00] = "\0" and [0x00] = Empty
> String. But when we decoding those values into Application Variables We
> have to face some difficulties because There is no difference between
> Null Terminated String and Empty string in programming level.
Re: What is different between "\0" and Empty String? Hanno Klein / Deutsche Börse Systems 18 Mar 2009 10:08AM ET |