MCPcopy Create free account
hub / github.com/apache/fory / resetReadState

Method resetReadState

go/fory/fory.go:576–581  ·  view source on GitHub ↗

resetReadState resets read context state without allocation

()

Source from the content-addressed store, hash-verified

574
575// resetReadState resets read context state without allocation
576func (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
584func (f *Fory) resetWriteState() {

Callers 5

DeserializeFromStreamMethod · 0.95
DeserializeFromReaderMethod · 0.95
DeserializeMethod · 0.95
DeserializeFromMethod · 0.95

Calls 1

ResetMethod · 0.45

Tested by 1