presto-rcfile/src/main/java/io/prestosql/rcfile/binary/DateEncoding.java/DateEncoding/getValueLength
class DateEncoding:    @Override
    public int getValueLength(Slice slice, int offset)
    {
        return decodeVIntSize(slice, offset);
    }