public void variableLength(final boolean variableLength)
    {
        this.varLen = variableLength;
    }
Set if the type is variable length or not.

@param variableLength true if variable length.
sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/EncodedDataType.java