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

Method WriteData

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

Source from the content-addressed store, hash-verified

611 public override Queue<T> DefaultValue => null!;
612
613 public override void WriteData(WriteContext context, in Queue<T> value, bool hasGenerics)
614 {
615 Queue<T> safe = value ?? new Queue<T>();
616 CollectionCodec.WriteCollectionData(safe, context.TypeResolver.GetSerializer<T>(), context, hasGenerics);
617 }
618
619 public override Queue<T> ReadData(ReadContext context)
620 {

Callers

nothing calls this directly

Calls 1

WriteCollectionDataMethod · 0.80

Tested by

no test coverage detected