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

Method GetRefValue

csharp/src/Fory/RefResolver.cs:102–111  ·  view source on GitHub ↗
(uint refId)

Source from the content-addressed store, hash-verified

100 }
101
102 public object? GetRefValue(uint refId)
103 {
104 int index = checked((int)refId);
105 if (index < 0 || index >= _refs.Count)
106 {
107 throw new RefException($"ref_id out of range: {refId}");
108 }
109
110 return _refs[index];
111 }
112
113 public void Reset()
114 {

Callers 4

ReadInlineTypedValueMethod · 0.80
ReadResolvedValueMethod · 0.80
ReadMethod · 0.80
ReadPayloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected