[This message was posted by Fred Malabre of CME Group <[email protected]> to the "FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can reply to it on-line at http://fixprotocol.org/discuss/read/78191731 - PLEASE DO NOT REPLY BY MAIL.]
Hello, Let's say I have a field defined as U64 to encode with delta value. The reference value is 0. I want to send the value 12178 (then as a signed value because of delta encoding). The corresponding binary value is 0000 ... 0000 0010 1111 1001 0010. Encoding with FAST, I would end up with: (0)101 1111 (1)001 0010 => Continuation byte is in parenthesis in the example above. => Only 2 bytes are sent according to the rule truncating most significant bits set to zero. Now, for the receiving side, when you get this value (which end up being 5F92 in hexa), it looks like some decoders are using the first bit as the sign bit (which would be bit #13 in my example, the one just after the stop bit 0). What am I missing here? Is the encoding described above expected? Thanks, Fred. [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] -- You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en.
