private void encodeTokenList(final List<Token> tokenList)
    {
        for (final Token token : tokenList)
        {
            write(buffer, encodeToken(token));
        }
    }
Encode the provided {@link Ir} and return the length in bytes encoded.

@return encode the provided {@link Ir} and return the length in bytes encoded.
sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/IrEncoder.java