presto-rcfile/src/main/java/io/prestosql/rcfile/BufferedOutputStreamSliceOutput.java/BufferedOutputStreamSliceOutput/BufferedOutputStreamSliceOutput
class BufferedOutputStreamSliceOutput:    public BufferedOutputStreamSliceOutput(OutputStream outputStream)
    {
        if (outputStream == null) {
            throw new NullPointerException("outputStream is null");
        }

        this.outputStream = outputStream;
        this.buffer = new byte[CHUNK_SIZE];
        this.slice = Slices.wrappedBuffer(buffer);
    }