(WriteContext context, in List<sbyte> value, bool hasGenerics)
| 84 | public override List<sbyte> DefaultValue => null!; |
| 85 | |
| 86 | public override void WriteData(WriteContext context, in List<sbyte> value, bool hasGenerics) |
| 87 | { |
| 88 | List<sbyte> list = value ?? []; |
| 89 | PrimitiveCollectionHeader.WriteListHeader(context, list.Count, hasGenerics, TypeId.Int8, false); |
| 90 | for (int i = 0; i < list.Count; i++) |
| 91 | { |
| 92 | context.Writer.WriteInt8(list[i]); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | public override List<sbyte> ReadData(ReadContext context) |
| 97 | { |
nothing calls this directly
no test coverage detected