(WriteContext context, in List<long> value, bool hasGenerics)
| 159 | public override List<long> DefaultValue => null!; |
| 160 | |
| 161 | public override void WriteData(WriteContext context, in List<long> value, bool hasGenerics) |
| 162 | { |
| 163 | List<long> list = value ?? []; |
| 164 | PrimitiveCollectionHeader.WriteListHeader(context, list.Count, hasGenerics, TypeId.VarInt64, false); |
| 165 | for (int i = 0; i < list.Count; i++) |
| 166 | { |
| 167 | context.Writer.WriteVarInt64(list[i]); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | public override List<long> ReadData(ReadContext context) |
| 172 | { |
nothing calls this directly
no test coverage detected