Write serialized object to a writable stream. Args: stream: Any writable object with write() method (Buffer, file, BytesIO, etc.)
(self, stream)
| 57 | |
| 58 | @abstractmethod |
| 59 | def write_to(self, stream): |
| 60 | """ |
| 61 | Write serialized object to a writable stream. |
| 62 | |
| 63 | Args: |
| 64 | stream: Any writable object with write() method (Buffer, file, BytesIO, etc.) |
| 65 | """ |
| 66 | |
| 67 | @abstractmethod |
| 68 | def getbuffer(self) -> memoryview: |
no outgoing calls