(WriteContext context, in HashSet<ulong> value, bool hasGenerics)
| 612 | public override HashSet<ulong> DefaultValue => null!; |
| 613 | |
| 614 | public override void WriteData(WriteContext context, in HashSet<ulong> value, bool hasGenerics) |
| 615 | { |
| 616 | HashSet<ulong> set = value ?? []; |
| 617 | PrimitiveCollectionHeader.WriteListHeader(context, set.Count, hasGenerics, TypeId.VarUInt64, false); |
| 618 | foreach (ulong item in set) |
| 619 | { |
| 620 | context.Writer.WriteVarUInt64(item); |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | public override HashSet<ulong> ReadData(ReadContext context) |
| 625 | { |
nothing calls this directly
no test coverage detected