presto-parquet/src/main/java/io/prestosql/parquet/ParquetReaderUtils.java/ParquetReaderUtils/toInputStream
class ParquetReaderUtils:    public static ByteBufferInputStream toInputStream(Slice slice)
    {
        return ByteBufferInputStream.wrap(slice.toByteBuffer());
    }