Locked History Actions

Flag

Flag

The Flag element defines a specific bit field in a Flags container.

<Flags name="options" size="16">
  <Flag name="compression" position="0" size="1" />
  <Flag name="compressionType" position="1" size="3" />
  <Flag name="opcode" position="10" size="2" value="5" />
</Flags>

Attributes:

  • name -- Name of the element [optional]

  • size -- Size in bits [required]

  • position -- Position (zero based) flag starts [required]

  • value -- The default value contained within the Blob

  • valueType -- The format in which the default value is expressed. (i.e hex, string, or literal)

  • mutable -- (Peach 2.3) Is data element changeable (should it be mutated), defaults to true [optional]