@Override
    public BigInteger toJavaType(Column column, Class<?> entityType, Object value) {
        if (value == null) return null;

        try {
            final byte[] bytes = (byte[]) value;
            return new BigInteger(bytes);
        } catch (final ClassCastException ex) {
            throw new SpeedmentTypeMapperException(format(
                "Expected input type to be a byte[], but was %s.",
                value.getClass().getName()), ex);
        }
    }
Maps between a large integer stored in binary form into a java
{@link BigDecimal}.

@author Emil Forslund
@since  3.0.23
runtime-parent/runtime-typemapper/src/main/java/com/speedment/runtime/typemapper/other/BinaryToBigIntegerMapper.java