<switch test="identity.data" comment="">
<case range="1"><eval expr="endian="little"" display_error="false" display_result="false" comment=""></case>
<case range="2"><eval expr="endian="big"" display_error="false" display_result="false" comment=""></case>
</switch>
<data type="int" name="flags" format="unsigned" len="4" display="" byte_order="{endian}"/>
currently I need to define each struct twice if I want dynamic endian control, which is a lot of work to have to manage when templates become complex.
currently I need to define each struct twice if I want dynamic endian control, which is a lot of work to have to manage when templates become complex.