private void setOutput(OutputStream newOutput) {
        output = newOutput;
    }
This will set the output stream.

@param newOutput The new output stream.
tika-fuzzing/src/main/java/org/apache/tika/fuzzing/pdf/EvilCOSWriter.java