public FrameCodecEncoder irId(final int value)
    {
        if (SBE_ENABLE_IR_PRECEDENCE_CHECKS)
        {
            onIrIdAccessed();
        }

        buffer.putInt(offset + 0, value, BYTE_ORDER);
        return this;
    }
The states in which a encoder/decoder/codec can live.

<p>The state machine diagram below, encoded in the dot language, describes
the valid state transitions according to the order in which fields may be
accessed safely. Tools such as PlantUML and Graphviz can render it.

<pre>{@code
  digraph G {
      NOT_WRAPPED -> V0_BLOCK [label="  wrap(version=0)  "];
      V0_BLOCK -> V0_BLOCK [label="  irId(?)  "];
      V0_BLOCK -> V0_BLOCK [label="  irVersion(?)  "];
      V0_BLOCK -> V0_BLOCK [label="  schemaVersion(?)  "];
      V0_BLOCK -> V0_BLOCK [label="  packageNameLength()  "];
      V0_BLOCK -> V0_PACKAGENAME_DONE [label="  packageName(?)  "];
      V0_PACKAGENAME_DONE -> V0_PACKAGENAME_DONE [label="  namespaceNameLength()  "];
      V0_PACKAGENAME_DONE -> V0_NAMESPACENAME_DONE [label="  namespaceName(?)  "];
      V0_NAMESPACENAME_DONE -> V0_NAMESPACENAME_DONE [label="  semanticVersionLength()  "];
      V0_NAMESPACENAME_DONE -> V0_SEMANTICVERSION_DONE [label="  semanticVersion(?)  "];
  }
}</pre>
sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/FrameCodecEncoder.java