xtce:SizeInBits

Element Information

Model

Source

<element name="SizeInBits">
  <complexType>
    <choice>
      <element name="Fixed" type="xtce:IntegerValueType"/>
      <element name="TerminationChar" type="hexBinary">
        <annotation>
          <documentation>Like C strings, they are terminated with a special string, usually a null character.</documentation>
        </annotation>
        <!-- default="00" (does not work with CASTOR 0.9.5.3) -->
      </element>
      <element name="LeadingSize">
        <annotation>
          <documentation>Like PASCAL strings, the size of the string is given as an integer at the start of the string. SizeTag must be an unsigned Integer</documentation>
        </annotation>
        <complexType>
          <attribute name="sizeInBitsOfSizeTag" type="positiveInteger" default="16"/>
        </complexType>
      </element>
    </choice>
  </complexType>
</element>

Sample