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

Method Reset

csharp/src/Fory/WriteContext.cs:168–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 }
167
168 internal void Reset()
169 {
170 RefWriter.Reset();
171
172 _firstInlineTypeMetaKey = 0;
173 _secondInlineTypeMetaKey = 0;
174 _thirdInlineTypeMetaKey = 0;
175 _inlineTypeMetaCount = 0;
176 _typeMetaIndexByType?.ClearKeys();
177 _nextTypeMetaIndex = 0;
178 if (_hasMetaStringIndexes)
179 {
180 _metaStringIndexByKey.Clear();
181 _hasMetaStringIndexes = false;
182 _nextMetaStringIndex = 0;
183 }
184 }
185}

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected