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

Method ReserveRefId

csharp/src/Fory/RefResolver.cs:73–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 public uint ReserveRefId()
74 {
75 uint id = (uint)_refs.Count;
76 _refs.Add(null);
77 return id;
78 }
79
80 public void StoreRefAt(uint refId, object? value)
81 {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected