Return the entire formatted message as a bytes object.
(self)
| 195 | return fp.getvalue() |
| 196 | |
| 197 | def __bytes__(self): |
| 198 | """Return the entire formatted message as a bytes object. |
| 199 | """ |
| 200 | return self.as_bytes() |
| 201 | |
| 202 | def as_bytes(self, unixfrom=False, policy=None): |
| 203 | """Return the entire formatted message as a bytes object. |