resetReadState resets read context state without allocation
()
| 574 | |
| 575 | // resetReadState resets read context state without allocation |
| 576 | func (f *Fory) resetReadState() { |
| 577 | f.readCtx.Reset() |
| 578 | if f.metaContext != nil { |
| 579 | f.metaContext.Reset() |
| 580 | } |
| 581 | } |
| 582 | |
| 583 | // resetWriteState resets write context state without allocation |
| 584 | func (f *Fory) resetWriteState() { |