(ReadContext context)
| 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 | } |
nothing calls this directly
no test coverage detected