(WriteContext context, in HashSet<sbyte> value, bool hasGenerics)
| 437 | public override HashSet<sbyte> DefaultValue => null!; |
| 438 | |
| 439 | public override void WriteData(WriteContext context, in HashSet<sbyte> value, bool hasGenerics) |
| 440 | { |
| 441 | HashSet<sbyte> set = value ?? []; |
| 442 | PrimitiveCollectionHeader.WriteListHeader(context, set.Count, hasGenerics, TypeId.Int8, false); |
| 443 | foreach (sbyte item in set) |
| 444 | { |
| 445 | context.Writer.WriteInt8(item); |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | public override HashSet<sbyte> ReadData(ReadContext context) |
| 450 | { |
nothing calls this directly
no test coverage detected