presto-rcfile/src/main/java/io/prestosql/rcfile/binary/DoubleEncoding.java/DoubleEncoding/decodeValueInto
class DoubleEncoding:    @Override
    public void decodeValueInto(BlockBuilder builder, Slice slice, int offset, int length)
    {
        long longBits = slice.getLong(offset);

        // the file format uses big endian
        double value = Double.longBitsToDouble(Long.reverseBytes(longBits));
        type.writeDouble(builder, value);
    }