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

Method WriteData

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

Source from the content-addressed store, hash-verified

595 public override LinkedList<T> DefaultValue => null!;
596
597 public override void WriteData(WriteContext context, in LinkedList<T> value, bool hasGenerics)
598 {
599 LinkedList<T> safe = value ?? new LinkedList<T>();
600 CollectionCodec.WriteCollectionData(safe, context.TypeResolver.GetSerializer<T>(), context, hasGenerics);
601 }
602
603 public override LinkedList<T> ReadData(ReadContext context)
604 {

Callers

nothing calls this directly

Calls 1

WriteCollectionDataMethod · 0.80

Tested by

no test coverage detected