Reset both write and read state. Clears all per-operation state including buffers and reference tracking. Use this to ensure a clean state before reusing a Fory instance.
(self)
| 581 | self.read_context.reset() |
| 582 | |
| 583 | def reset(self): |
| 584 | """ |
| 585 | Reset both write and read state. |
| 586 | |
| 587 | Clears all per-operation state including buffers and reference tracking. |
| 588 | Use this to ensure a clean state before reusing a Fory instance. |
| 589 | """ |
| 590 | self.reset_write() |
| 591 | self.reset_read() |
| 592 | |
| 593 | |
| 594 | class ThreadSafeFory: |
nothing calls this directly
no test coverage detected