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

Method WriteData

csharp/src/Fory/CollectionSerializers.cs:565–569  ·  view source on GitHub ↗
(WriteContext context, in SortedSet<T> value, bool hasGenerics)

Source from the content-addressed store, hash-verified

563 public override SortedSet<T> DefaultValue => null!;
564
565 public override void WriteData(WriteContext context, in SortedSet<T> value, bool hasGenerics)
566 {
567 SortedSet<T> safe = value ?? new SortedSet<T>();
568 CollectionCodec.WriteCollectionData(safe, context.TypeResolver.GetSerializer<T>(), context, hasGenerics);
569 }
570
571 public override SortedSet<T> ReadData(ReadContext context)
572 {

Callers

nothing calls this directly

Calls 1

WriteCollectionDataMethod · 0.80

Tested by

no test coverage detected