public Encoding build()
        {
            return new Encoding(
                presence, primitiveType,
                byteOrder,
                minValue,
                maxValue,
                nullValue,
                constValue,
                characterEncoding,
                epoch,
                timeUnit,
                semanticType);
        }
Build a new Encoding based on the values.

@return a new Encoding based on the values.
sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Encoding.java