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

Method GetTypeMetaRef

csharp/src/Fory/ReadContext.cs:79–92  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

77 }
78
79 internal TypeMeta? GetTypeMetaRef(int index)
80 {
81 if (index < 0)
82 {
83 return null;
84 }
85
86 if (index == 0)
87 {
88 return _hasFirstTypeMetaRef ? _firstTypeMetaRef : null;
89 }
90
91 return _typeMetaRefs.Get(index - 1);
92 }
93
94 internal void StoreTypeMetaRef(TypeMeta typeMeta, int index)
95 {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected