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