try {
this.out.flush();
this.out.close();
this.streamData.writeTo(stream);
} catch (final IOException e) {
throw new PdfException(e);
}
length += this.streamData.size();
try {
p = (EOL + "endstream" + EOL).getBytes(PDFDocument.ENCODING);
} catch (final UnsupportedEncodingException ue) {