There is a field in my protocol that I would like to display as base.DEC_HEX, except when it is a reserved value, in which case I would like to display a string (with a dec or hex value in parentheses).
I do NOT want the values to show as
What is the best way to accomplish this? I know I can use an
asked 10 Feb '15, 10:00
Extract the value and decide what code path to follow to represent it in the tree. That's how you can divide the complexity into existing functions. Yes there's some duplication of data points, unfortunately.
answered 11 Feb '15, 06:04