void writeTo ( OutputStream os ) throws IOException { os . write ( DocWriter . getISOBytes ( String . valueOf ( number ) ) ) ; os . write ( ' ' ) ; os . write ( DocWriter . getISOBytes ( String . valueOf ( generation ) ) ) ; os . write ( STARTOBJ ) ; object . toPdf ( writer , os ) ; os . write ( ENDOBJ ) ; }
Writes efficiently to a stream