presto-orc/src/main/java/io/prestosql/orc/ChunkedSliceOutput.java/ChunkedSliceOutput/getSlices
class ChunkedSliceOutput:    public List<Slice> getSlices()
    {
        return ImmutableList.<Slice>builder()
                .addAll(closedSlices)
                .add(Slices.copyOf(slice, 0, bufferPosition))
                .build();
    }