Encode the object into a blob of bytes.
(self, obj: D)
| 150 | type: str |
| 151 | |
| 152 | def dumps(self, obj: D) -> bytes: |
| 153 | """Encode the object into a blob of bytes.""" |
| 154 | raise NotImplementedError |
| 155 | |
| 156 | def loads(self, blob: bytes) -> D: |
| 157 | """Decode the blob of bytes into an object.""" |
no outgoing calls