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

Method ReadData

csharp/src/Fory/CollectionSerializers.cs:655–665  ·  view source on GitHub ↗
(ReadContext context)

Source from the content-addressed store, hash-verified

653 }
654
655 public override Stack<T> ReadData(ReadContext context)
656 {
657 List<T> values = CollectionCodec.ReadCollectionData(context.TypeResolver.GetSerializer<T>(), context);
658 Stack<T> stack = new(values.Count);
659 for (int i = 0; i < values.Count; i++)
660 {
661 stack.Push(values[i]);
662 }
663
664 return stack;
665 }
666}

Callers

nothing calls this directly

Calls 1

ReadCollectionDataMethod · 0.80

Tested by

no test coverage detected