Write some data on the stream.
(self, data)
| 579 | self.pdfFile.writeObject(self.len, length) |
| 580 | |
| 581 | def write(self, data): |
| 582 | """Write some data on the stream.""" |
| 583 | |
| 584 | if self.compressobj is None: |
| 585 | self.file.write(data) |
| 586 | else: |
| 587 | compressed = self.compressobj.compress(data) |
| 588 | self.file.write(compressed) |
| 589 | |
| 590 | def _flush(self): |
| 591 | """Flush the compression object.""" |
no outgoing calls