(WriteContext context, in HashSet<long> value, bool hasGenerics)
| 512 | public override HashSet<long> DefaultValue => null!; |
| 513 | |
| 514 | public override void WriteData(WriteContext context, in HashSet<long> value, bool hasGenerics) |
| 515 | { |
| 516 | HashSet<long> set = value ?? []; |
| 517 | PrimitiveCollectionHeader.WriteListHeader(context, set.Count, hasGenerics, TypeId.VarInt64, false); |
| 518 | foreach (long item in set) |
| 519 | { |
| 520 | context.Writer.WriteVarInt64(item); |
| 521 | } |
| 522 | } |
| 523 | |
| 524 | public override HashSet<long> ReadData(ReadContext context) |
| 525 | { |
nothing calls this directly
no test coverage detected