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

Method StoreRemoteTypeMeta

csharp/src/Fory/ReadContext.cs:149–159  ·  view source on GitHub ↗
(ulong header, TypeMeta typeMeta)

Source from the content-addressed store, hash-verified

147 }
148
149 internal void StoreRemoteTypeMeta(ulong header, TypeMeta typeMeta)
150 {
151 if (_typeMetasByHeader.TryGetValue(header, out _))
152 {
153 return;
154 }
155
156 object typeKey = CheckRemoteTypeMetaLimits(typeMeta);
157 _typeMetasByHeader.Set(header, typeMeta);
158 RecordRemoteTypeMetaVersion(typeKey);
159 }
160
161 internal void StoreExactLocalTypeMeta(ulong header, TypeMeta typeMeta)
162 {

Callers 3

ReadRemoteTypeMetaMethod · 0.80
ReadAnyTypeInfoMethod · 0.80

Calls 2

TryGetValueMethod · 0.45
SetMethod · 0.45